errors : enums have to contain strings

This commit is contained in:
nbillard 2022-12-10 12:05:56 +01:00
parent 98ba9a4be5
commit 35ffb0b9e1
2 changed files with 8 additions and 8 deletions

View file

@ -101,7 +101,7 @@ INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
INSERT idScientifique, grade INTO Scientifique VALUES (
3,
5,
'cr1'
);

View file

@ -15,13 +15,13 @@ CREATE TYPE T_GRADE AS ENUM (
);
CREATE TYPE T_ECHELON AS ENUM (
1,
2,
3,
4,
5,
6,
7
'1',
'2',
'3',
'4',
'5',
'6',
'7'
);
-- Axel