|
|
|
@ -47,7 +47,7 @@ CREATE TABLE IF NOT EXISTS `collaborateur_epa`.`collaborateur` ( |
|
|
|
|
`BirthDate` DATE NOT NULL, |
|
|
|
|
`Gender` ENUM('masculin', 'feminin', 'autre') NOT NULL DEFAULT 'masculin', |
|
|
|
|
`Status` ENUM('cadre', 'noncadre', 'alternant', 'stagiaire') NOT NULL DEFAULT 'noncadre', |
|
|
|
|
`ChildrenNumber` SMALLINT NOT NULL, |
|
|
|
|
`ChildrenNumber` INT NOT NULL, |
|
|
|
|
`Address` VARCHAR(200) NOT NULL, |
|
|
|
|
`Telephone` VARCHAR(15) NOT NULL, |
|
|
|
|
`PersonalMail` VARCHAR(100) NOT NULL, |
|
|
|
@ -289,8 +289,10 @@ Insert INTO businessunit (Name,AgenceId) VALUES |
|
|
|
|
('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); |
|
|
|
|
|
|
|
|
|
Insert INTO collaborateur (Name,FirstName,BirthDate,ChildrenNumber,Address,Telephone,PersonalMail,ApsideMail,ResignationDate,BusinessUnitId) |
|
|
|
|
Values ('Dupont','Marie','1990-04-04',0,'adresse','0660258644','perso@mail','apside@mail','2030-06-06',2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET SQL_MODE=@OLD_SQL_MODE; |
|
|
|
|
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; |
|
|
|
|