scalingo_addonscalingo_alertscalingo_appscalingo_app_eventscalingo_autoscalerscalingo_collaboratorscalingo_containerscalingo_container_typescalingo_cronscalingo_databasescalingo_database_backupscalingo_database_maintenancescalingo_database_type_versionscalingo_database_userscalingo_deploymentscalingo_domainscalingo_environmentscalingo_event_typescalingo_invoicescalingo_keyscalingo_log_drainscalingo_log_drain_addonscalingo_notification_platformscalingo_notifierscalingo_regionscalingo_scm_integrationscalingo_scm_repo_linkscalingo_stackscalingo_tokenscalingo_user_eventscalingo_user_scm_repo_link
Table: scalingo_database_user
List of users of a database
You must specify app_name
and addon_id
in a where clause in order to use this table.
Examples
List users of a database
select name, read_onlyfrom scalingo_database_userwhere app_name = 'caresteouvert-api' and addon_id = 'ad-0c33a92f-000-000-000-0000000';
List readonly users
select name, read_onlyfrom scalingo_database_userwhere app_name = 'caresteouvert-api' and addon_id = 'ad-0c33a92f-000-000-000-0000000' and read_only;
Schema for scalingo_database_user
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
addon_id | text | = | ID of the addon. |
app_name | text | = | Name of the app. |
name | text | Name of the user. | |
protected | boolean | True if the user is protected. | |
read_only | boolean | True if the user is readonly. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. |