aboutsummaryrefslogtreecommitdiffstats
path: root/migrations/20260210194218_oauth_account.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/20260210194218_oauth_account.sql')
-rw-r--r--migrations/20260210194218_oauth_account.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/migrations/20260210194218_oauth_account.sql b/migrations/20260210194218_oauth_account.sql
index ce660fe..3431f85 100644
--- a/migrations/20260210194218_oauth_account.sql
+++ b/migrations/20260210194218_oauth_account.sql
@@ -4,7 +4,7 @@ create table account (
provider_id text not null,
provider_user_id text not null,
email citext not null,
- ap_id text not null references profile(ap_id) on delete cascade,
+ user_id text not null references profile(id) on delete cascade,
primary key (provider_id, provider_user_id)
);