36782-vm/db/migrations/003_seed_admin_user.sql
2025-12-12 14:13:03 +00:00

8 lines
251 B
SQL

INSERT INTO `users` (`email`, `password_hash`, `role`, `is_active`) VALUES (
'admin@example.com',
-- This is a hash of the string 'password' using PASSWORD_BCRYPT
'$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
'admin',
1
);