db(T0): schema + migration 001 — super_oauth_id, firstname, lastname

tech-lead: overflow granted — gate migration avant Sprint B+C SuperOAuth
This commit is contained in:
2026-03-15 18:11:42 +01:00
parent e0bd6a2c4b
commit c414cf2d07
3 changed files with 41 additions and 8 deletions

View File

@@ -1,9 +1,12 @@
DROP TABLE IF EXISTS users;
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
nickname VARCHAR(30) NOT NULL,
mail VARCHAR(90) NOT NULL,
password VARCHAR(200) NOT NULL,
tetardcoin INT default 0
id INT AUTO_INCREMENT PRIMARY KEY,
nickname VARCHAR(30) NOT NULL,
mail VARCHAR(90) NOT NULL,
password VARCHAR(200) NOT NULL,
tetardcoin INT DEFAULT 0,
firstname VARCHAR(50) NULL,
lastname VARCHAR(50) NULL,
super_oauth_id VARCHAR(36) NULL UNIQUE
);