summaryrefslogtreecommitdiffstats
path: root/crates/auth/migrations/20250723121223_oauth_account.sql
blob: 826fbcc8286988417e8abde6e190ed8e07cb5b67 (plain)
1
2
3
4
5
6
7
CREATE TABLE oauth_account (
    provider_id text not null,
    provider_user_id text not null,
    user_id uuid not null,
    primary key (provider_id, provider_user_id),
    foreign key (user_id) references auth_user(id)
);