ADD database integration & ADD simple dummy user entity

This commit is contained in:
2025-06-12 22:23:10 +02:00
parent f79beadb09
commit fa120fe7b5
7 changed files with 70 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
DROP TABLE IF EXISTS users;
CREATE TABLE IF NOT EXISTS users (
id BIGINT PRIMARY KEY,
google_id VARCHAR(64),
username VARCHAR(50) NOT NULL UNIQUE,
email VARCHAR(100) NOT NULL UNIQUE,
name VARCHAR(100) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);