                                          Table "public.oauth_client_configs"
      Column       |           Type           | Collation | Nullable |                     Default                      
-------------------+--------------------------+-----------+----------+--------------------------------------------------
 id                | integer                  |           | not null | nextval('oauth_client_configs_id_seq'::regclass)
 name              | character varying(200)   |           | not null | 
 client_id         | character varying(300)   |           | not null | 
 client_secret_enc | character varying(600)   |           | not null | 
 redirect_uri      | character varying(500)   |           |          | 
 project_id        | character varying(200)   |           |          | 
 is_active         | boolean                  |           | not null | 
 user_id           | integer                  |           |          | 
 created_at        | timestamp with time zone |           | not null | 
 updated_at        | timestamp with time zone |           | not null | 
Indexes:
    "oauth_client_configs_pkey" PRIMARY KEY, btree (id)
    "ix_oauth_client_configs_created_at" btree (created_at)
Foreign-key constraints:
    "oauth_client_configs_user_id_fkey" FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE
Referenced by:
    TABLE "gmail_accounts" CONSTRAINT "gmail_accounts_oauth_config_id_fkey" FOREIGN KEY (oauth_config_id) REFERENCES oauth_client_configs(id) ON DELETE SET NULL

