forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/end2end/setup/seed_data/1_create-admin-superadmin.sql

18 lines
545 B
MySQL
Raw Normal View History

-- +migrate Up
INSERT INTO `admins` (`id`, `first_name`, `last_name`, `password`, `phone_number`, `role`, `description`, `email`, `gender`, `status`)
VALUES (
2,
'ruhi',
'hosseini',
-- password is: Abc123456
'$2a$10$UggC7sgECCaNm2TAkchve.TLcHJuxPAVZkzMfCDZqKRQVHcJZaoX2',
'09384664401',
'super-admin',
'testing',
'admin.superadmin.01@gmail.com',
'male',
'active'
);
-- +migrate Dow
DELETE FROM `admins` WHERE id = 2;