fix: Resolve password_hash default value error and disable OTP autofill

This commit is contained in:
Hamza-Ayed
2026-08-26 23:24:35 +03:00
parent 0d63554a1f
commit 6201630865
4 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ CREATE TABLE `users` (
`full_name` TEXT NOT NULL,
`phone_number` TEXT NOT NULL,
`phone_hash` VARCHAR(64) NOT NULL,
`password_hash` VARCHAR(255) NOT NULL,
`password_hash` VARCHAR(255) DEFAULT NULL,
`role` ENUM('student', 'guardian', 'teacher', 'school_admin', 'super_admin') NOT NULL DEFAULT 'student',
`school_id` BIGINT UNSIGNED DEFAULT NULL,
`grade_level` VARCHAR(50) DEFAULT 'tawjihi_2007',