errors : enums have to contain strings
This commit is contained in:
parent
98ba9a4be5
commit
35ffb0b9e1
2 changed files with 8 additions and 8 deletions
|
@ -101,7 +101,7 @@ INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
|
||||||
|
|
||||||
|
|
||||||
INSERT idScientifique, grade INTO Scientifique VALUES (
|
INSERT idScientifique, grade INTO Scientifique VALUES (
|
||||||
3,
|
5,
|
||||||
'cr1'
|
'cr1'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
14
tables.sql
14
tables.sql
|
@ -15,13 +15,13 @@ CREATE TYPE T_GRADE AS ENUM (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TYPE T_ECHELON AS ENUM (
|
CREATE TYPE T_ECHELON AS ENUM (
|
||||||
1,
|
'1',
|
||||||
2,
|
'2',
|
||||||
3,
|
'3',
|
||||||
4,
|
'4',
|
||||||
5,
|
'5',
|
||||||
6,
|
'6',
|
||||||
7
|
'7'
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Axel
|
-- Axel
|
||||||
|
|
Loading…
Reference in a new issue