feat: initial register functionality
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/clippy Pipeline failed
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Jef Roosens 2023-05-15 17:38:13 +02:00
parent f8ce315d8e
commit e834b3308a
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
15 changed files with 183 additions and 1 deletions

0
migrations/.keep Normal file
View file

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE users;

View file

@ -0,0 +1,7 @@
-- Your SQL goes here
CREATE TABLE users (
discord_id UNSIGNED BIG INT PRIMARY KEY NOT NULL,
email TEXT UNIQUE NOT NULL,
first_name TEXT NOT NULL,
last_name TEXT NOT NULL
);