0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: update secret table columns type

This commit is contained in:
Darcy Ye 2024-11-20 15:42:29 +08:00
parent 9bed048d57
commit 4de302685a
No known key found for this signature in database
GPG key ID: B46F4C07EDEFC610
2 changed files with 4 additions and 4 deletions

View file

@ -13,8 +13,8 @@ const alteration: AlterationScript = {
references tenants (id) on update cascade on delete cascade,
application_id varchar(21) not null
references applications (id) on update cascade on delete cascade,
private_key varchar not null,
certificate varchar not null,
private_key text not null,
certificate text not null,
created_at timestamptz not null default now(),
expires_at timestamptz not null,
active boolean not null,

View file

@ -6,8 +6,8 @@ create table saml_application_secrets (
references tenants (id) on update cascade on delete cascade,
application_id varchar(21) not null
references applications (id) on update cascade on delete cascade,
private_key varchar not null,
certificate varchar not null,
private_key text not null,
certificate text not null,
created_at timestamptz not null default now(),
expires_at timestamptz not null,
active boolean not null,