This commit is contained in:
Juan Ferrer 2019-01-31 00:56:48 +01:00
commit 82d81e0ab9
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`) INSERT INTO `util`.`config` ( `dbVersion`, `hasTriggersDisabled`, `environment`)
VALUES ('1.0.0', '0', 'development'); VALUES ('1.0.0', '0', 'development');
INSERT INTO `account`.`user`(`id`,`name`,`password`,`role`,`active`,`email`) INSERT INTO `account`.`user`(`id`,`name`, `nickname`, `password`,`role`,`active`,`email`)
SELECT id,name, MD5('nightmare'), id, 1, CONCAT(name, '@verdnatura.es') SELECT id, name, CONCAT(name, 'Nick'),MD5('nightmare'), id, 1, CONCAT(name, '@verdnatura.es')
FROM `account`.`role`; FROM `account`.`role`;
INSERT INTO `vn`.`worker`(`id`,`workerCode`, `firstName`, `name`, `userFk`) INSERT INTO `vn`.`worker`(`id`,`workerCode`, `firstName`, `name`, `userFk`)