15 lines
268 B
SQL
15 lines
268 B
SQL
CREATE TABLE user (
|
|
id TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
email TEXT UNIQUE NOT NULL,
|
|
profile_pic TEXT NOT NULL
|
|
);
|
|
|
|
CREATE TABLE calendar (
|
|
usr_id TEXT NOT NULL,
|
|
calendar_id TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
toggle INT NOT NULL,
|
|
color TEXT
|
|
);
|