ajout de données initiales

pull/10/head
Clement FERRERE 3 years ago
parent c71ed26a24
commit 43d6c0f25b
  1. 12
      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;

Loading…
Cancel
Save