15 lines
569 B
MySQL
15 lines
569 B
MySQL
|
CREATE TABLE `sdv1`.`bilansaisie` (
|
||
|
`ref` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||
|
`clientId` INT NOT NULL ,
|
||
|
`utilisateurId` INT NOT NULL ,
|
||
|
`utilisateurLogin` VARCHAR( 50 ) NOT NULL ,
|
||
|
`utilisateurEmail` VARCHAR( 100 ) NOT NULL ,
|
||
|
`siren` VARCHAR( 9 ) NOT NULL ,
|
||
|
`bilanCloture` VARCHAR( 10 ) NOT NULL ,
|
||
|
`bilanDuree` INT( 2 ) NOT NULL ,
|
||
|
`dateInsert` DATETIME NOT NULL
|
||
|
) ENGINE = MYISAM ;
|
||
|
|
||
|
ALTER TABLE `bilansaisie` ADD `method` VARCHAR( 20 ) NOT NULL AFTER `utilisateurEmail`;
|
||
|
|
||
|
ALTER TABLE `bilansaisie` ADD `confidentiel` INT( 1 ) NOT NULL AFTER `method`;
|