blob: ce660feb09dd96388fe4c1aac91db4a8c9766f1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
create extension if not exists citext;
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,
primary key (provider_id, provider_user_id)
);
create index account_email_idx on account (email);
|