feat:menambahkan fitur superadmin

This commit is contained in:
2026-05-15 00:25:37 +07:00
parent 71388d2df7
commit e359365139
8 changed files with 358 additions and 23 deletions
+1
View File
@@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS users (
email VARCHAR(160) NOT NULL UNIQUE,
whatsapp VARCHAR(30) NOT NULL,
password_hash VARCHAR(255) NOT NULL,
role ENUM('user', 'superadmin') NOT NULL DEFAULT 'user',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);