From 43d6c0f25b0467b90d938a05cc6e9f634f3856bb Mon Sep 17 00:00:00 2001 From: Clement FERRERE Date: Tue, 15 Mar 2022 11:23:56 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20de=20donn=C3=A9es=20initiales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Collaborateur_Epa_Back/init_db.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Collaborateur_Epa_Back/init_db.sql b/Collaborateur_Epa_Back/init_db.sql index 4100fc7..5f4ac5c 100644 --- a/Collaborateur_Epa_Back/init_db.sql +++ b/Collaborateur_Epa_Back/init_db.sql @@ -279,6 +279,18 @@ CREATE TABLE IF NOT EXISTS `collaborateur_epa`.`sitedeveloppeprojet` ( ENGINE = InnoDB DEFAULT CHARACTER SET = latin1; +INSERT INTO agence (Name) VALUES +('Clermont-Ferrand'), +('TOP'); + +Insert INTO businessunit (Name,AgenceId) VALUES +('Cournon',1), +('Tours',2), +('Orléans',2), +('Poitiers',2); + +Insert INTO collaborateur(Name,FirstName,BirthDate,Gender,Status,ChildrenNumber,Address,Telephone,PersonalMail,ApsideMail,ResignationDate,BusinessUnitId,ReferrerId) VALUES +('Dupont','Marie','1990-04-04','feminin','cadre',0,'28 rue Emile Zola, 63000, Clermont-Ferrand','0662258644','marie.dup@gmail.com','marie.dupont@apside-groupe.com','2030-06-06',1,NULL); SET SQL_MODE=@OLD_SQL_MODE; SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;