Update: 2026-05-06 04:02:34

This commit is contained in:
Hamza-Ayed
2026-05-06 04:02:34 +03:00
parent 164651eb6d
commit 0dcced4142
13 changed files with 338 additions and 12 deletions

View File

@@ -21,6 +21,7 @@ CREATE TABLE users (
name VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL,
password_hash VARCHAR(255) NOT NULL,
phone VARCHAR(255),
role ENUM('super_admin','admin','accountant','viewer') NOT NULL,
company_id CHAR(36) NULL, -- assigned company for accountant
refresh_token_hash VARCHAR(255) NULL,