Lagt till users tabell i en sql fil
This commit is contained in:
8
database_schema.sql
Normal file
8
database_schema.sql
Normal 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
|
||||
);
|
||||
Reference in New Issue
Block a user