enums echelon et grade
This commit is contained in:
parent
ccd113ed4a
commit
0b73820858
1 changed files with 16 additions and 0 deletions
|
@ -17,6 +17,22 @@ CREATE TABLE Scientifique(
|
||||||
PRIMARY KEY(idPersonnel)
|
PRIMARY KEY(idPersonnel)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
-- Nathan
|
||||||
|
CREATE TYPE echelon AS ENUM (
|
||||||
|
'A*',
|
||||||
|
'A',
|
||||||
|
'B',
|
||||||
|
'C'
|
||||||
|
);
|
||||||
|
|
||||||
|
-- Nathan
|
||||||
|
CREATE TYPE grade AS ENUM (
|
||||||
|
'cr1',
|
||||||
|
'cr2',
|
||||||
|
'mcf',
|
||||||
|
'mcf hors classe'
|
||||||
|
);
|
||||||
|
|
||||||
-- Nathan
|
-- Nathan
|
||||||
CREATE Evenement(
|
CREATE Evenement(
|
||||||
idEvenement INT NOT NULL,
|
idEvenement INT NOT NULL,
|
||||||
|
|
Loading…
Reference in a new issue