This commit is contained in:
Timur Kh. committed 2025-12-15 22:28:01 +03:00
1 parent 4a17c75d6f
commit f7a7b19275
25 files changed
+1383 -3

No files matched your search

@@ -0,0 +1 @@
DROP TABLE IF EXISTS users;
@@ -0,0 +1,10 @@
CREATE TABLE IF NOT EXISTS users (
id UUID PRIMARY KEY,
email VARCHAR(255) UNIQUE NOT NULL,
username VARCHAR(255) NOT NULL,
password VARCHAR(255) NOT NULL,
created_at TIMESTAMP NOT NULL,
updated_at TIMESTAMP NOT NULL
);
CREATE INDEX IF NOT EXISTS idx_users_email ON users(email);