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

18 lines
495 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 (
3,
'ruhi',
'hosseini',
-- password is: Abc123456
'$2a$10$xaNwJqcuRUlPhAUPZhhV3.WRmI5iBea5RzvL4qWS6OCFk0F7bKvaW',
'09384664402',
'admin',
'testing',
'admin.admin.01@gmail.com',
'male',
'active'
);
-- +migrate Down
DELETE FROM `admins` WHERE id = 3;