Skip to content
Snippets Groups Projects
Commit a1243745 authored by Anton Bagliy's avatar Anton Bagliy
Browse files

REF: change study_groups.formid to enum fulltime_parttime_evening #50

parent efe7eb8c
Branches
No related merge requests found
...@@ -494,7 +494,7 @@ ALTER TABLE ONLY study_form ...@@ -494,7 +494,7 @@ ALTER TABLE ONLY study_form
-- --
ALTER TABLE ONLY study_groups ALTER TABLE ONLY study_groups
ADD CONSTRAINT study_groups_facultyid_gradeid_groupnum_key UNIQUE (facultyid, gradeid, groupnum); ADD CONSTRAINT study_groups_facultyid_gradeid_groupnum_formid_key UNIQUE (facultyid, gradeid, groupnum, formid);
-- --
......
...@@ -936,7 +936,7 @@ CREATE TABLE study_groups ( ...@@ -936,7 +936,7 @@ CREATE TABLE study_groups (
gradeid integer NOT NULL, gradeid integer NOT NULL,
groupnum integer NOT NULL, groupnum integer NOT NULL,
facultyid integer NOT NULL, facultyid integer NOT NULL,
formid fulltime_parttime_evening DEFAULT fulltime NOT NULL formid fulltime_parttime_evening DEFAULT 'fulltime' NOT NULL
); );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment