- Add AdminUser model (username, passwordHash, role enum) - Add Code model (code, createdBy, usedByUserId, timestamps) - Install bcryptjs for password hashing - Run migration add_admin_and_code |
||
|---|---|---|
| .. | ||
| migration.sql | ||
- Add AdminUser model (username, passwordHash, role enum) - Add Code model (code, createdBy, usedByUserId, timestamps) - Install bcryptjs for password hashing - Run migration add_admin_and_code |
||
|---|---|---|
| .. | ||
| migration.sql | ||