Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3c8a695

Browse files
committedJun 17, 2025··
fix(schemas): fix sql file name typos
fix sql file name typos
1 parent f458802 commit 3c8a695

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎packages/schemas/alterations/next-1750063177-add-user-social-identity-ids-table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const alteration: AlterationScript = {
1010
create table if not exists user_social_identity_ids (
1111
tenant_id varchar(21) not null
1212
references tenants(id) on update cascade on delete cascade,
13-
user_id varchar(12) not null
13+
user_id varchar(21) not null
1414
references users (id) on update cascade on delete cascade,
1515
target varchar(256) not null,
1616
identity_id varchar(128) not null,

‎packages/schemas/tables/user-social-identitiy-ids.sql renamed to ‎packages/schemas/tables/user_social_identity_ids.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/* init_order = 2 */
1+
/* init_order = 1 */
22

33
create table user_social_identity_ids (
44
tenant_id varchar(21) not null
55
references tenants (id) on update cascade on delete cascade,
6-
user_id varchar(12) not null
6+
user_id varchar(21) not null
77
references users (id) on update cascade on delete cascade,
88
/** Unique social provider identifier. E.g., 'google', 'facebook', etc. */
99
target varchar(256) not null,
@@ -66,4 +66,4 @@ $$ language plpgsql;
6666
create trigger sync_user_social_identity_ids_trigger
6767
after insert or update of identities on users
6868
for each row
69-
execute function sync_user_social_identity_ids();
69+
execute procedure sync_user_social_identity_ids();

0 commit comments

Comments
 (0)
Please sign in to comment.