in progress: db support for tandem add to user table on supabase registration

This commit is contained in:
2022-10-10 18:28:49 -05:00
parent f29ee33ca1
commit 4965480aaf
9 changed files with 96 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ async function main() {
CREATE TABLE IF NOT EXISTS users (
id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY NOT NULL,
email VARCHAR NOT NULL,
password VARCHAR NOT NULL,
supabaseUser JSON NOT NULL,
firstname VARCHAR,
lastname VARCHAR,
isadmin BOOLEAN DEFAULT FALSE