fix: Resolve password_hash default value error and disable OTP autofill
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user