Skip to content

Commit 729ad1c

Browse files
committed
wip: zen
1 parent fb4105a commit 729ad1c

File tree

6 files changed

+1059
-7
lines changed

6 files changed

+1059
-7
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CREATE TABLE `auth` (
2+
`id` varchar(30) NOT NULL,
3+
`time_created` timestamp(3) NOT NULL DEFAULT (now()),
4+
`time_updated` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3),
5+
`time_deleted` timestamp(3),
6+
`provider` enum('email','github','google') NOT NULL,
7+
`subject` varchar(255) NOT NULL,
8+
`account_id` varchar(30) NOT NULL,
9+
CONSTRAINT `provider` UNIQUE(`provider`,`subject`)
10+
);

0 commit comments

Comments
 (0)