···107107 -- identifiers
108108 id integer primary key autoincrement,
109109 pull_id integer not null,
110110-110110+111111 -- at identifiers
112112 repo_at text not null,
113113 owner_did text not null,
···194194 created text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')),
195195 foreign key (repo_at) references repos(at_uri) on delete cascade,
196196 unique(starred_by_did, repo_at)
197197+ );
198198+199199+ create table if not exists emails (
200200+ id integer primary key autoincrement,
201201+ did text not null,
202202+ email text not null,
203203+ verified integer not null default 0,
204204+ verification_code text not null,
205205+ is_primary integer not null default 0,
206206+ created text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')),
207207+ unique(did, email)
197208 );
198209199210 create table if not exists migrations (