Lagt till users tabell i en sql fil

This commit is contained in:
Dr3amFury
2025-07-17 20:16:38 +02:00
parent ef76dc973a
commit 9b8e7de960

8
database_schema.sql Normal file
View File

@@ -0,0 +1,8 @@
-- Creates the users table
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
username VARCHAR(50) NOT NULL UNIQUE,
email VARCHAR(100) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);