added unique constraint
This commit is contained in:
@ -10,7 +10,8 @@ create table camp.t_registration(
|
|||||||
camp camp.enum_camp not null,
|
camp camp.enum_camp not null,
|
||||||
forename text not null,
|
forename text not null,
|
||||||
surname text not null,
|
surname text not null,
|
||||||
sex camp.enum_sex not null
|
sex camp.enum_sex not null,
|
||||||
|
unique(camp, forename, surname)
|
||||||
);
|
);
|
||||||
|
|
||||||
create view camp.v_participant as
|
create view camp.v_participant as
|
||||||
|
Reference in New Issue
Block a user