This commit is contained in:
Carlos Jimenez Ruiz 2019-01-30 14:25:04 +01:00
parent 97f28e2ef6
commit be5d48cb8a
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ ALTER TABLE `vn2008`.`Consignatarios` AUTO_INCREMENT = 1;
INSERT INTO `util`.`config` ( `dbVersion`, `hasTriggersDisabled`, `environment`)
VALUES ('1.0.0', '0', 'development');
INSERT INTO `account`.`user`(`id`,`name`,`password`,`role`,`active`,`email`)
SELECT id,name, MD5('nightmare'), id, 1, CONCAT(name, '@verdnatura.es')
INSERT INTO `account`.`user`(`id`,`name`, `nickname`, `password`,`role`,`active`,`email`)
SELECT id, name, CONCAT(name, 'Nick'),MD5('nightmare'), id, 1, CONCAT(name, '@verdnatura.es')
FROM `account`.`role`;
INSERT INTO `vn`.`worker`(`id`,`workerCode`, `firstName`, `name`, `userFk`)