updated scheme

This commit is contained in:
2025-07-23 14:57:40 +02:00
parent 4fed3d96f6
commit a7ee03bce0

View File

@@ -6,7 +6,8 @@ CREATE TABLE users (
last_name VARCHAR(50) NOT NULL, last_name VARCHAR(50) NOT NULL,
email VARCHAR(100) NOT NULL UNIQUE, email VARCHAR(100) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL,
created TIMESTAMP NOT NULL DEFAULT NOW() created TIMESTAMP NOT NULL DEFAULT NOW(),
role VARCHAR(50) NOT NULL DEFAULT "user"
); );
-- Mock data for users -- Mock data for users