tbl_rt_person ort_kurzbz is now optional

This commit is contained in:
oesi
2016-07-05 14:20:52 +02:00
parent 6544a656f8
commit 65613d2869
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ $config['migration_enabled'] = TRUE;
| be upgraded / downgraded to.
|
*/
$config['migration_version'] = '009';
$config['migration_version'] = '011';
/*
|--------------------------------------------------------------------------
+1 -1
View File
@@ -37,7 +37,7 @@ class Migration_Reihungstest extends MigrationLib
rt_id integer,
anmeldedatum date,
teilgenommen boolean DEFAULT FALSE,
ort_kurzbz varchar(16) NOT NULL,
ort_kurzbz varchar(16),
punkte numeric(8,4) DEFAULT NULL,
CONSTRAINT pk_tbl_rt_person PRIMARY KEY (person_id, rt_id),
CONSTRAINT fk_rt_person_ort_kurzbz FOREIGN KEY (ort_kurzbz) REFERENCES public.tbl_ort(ort_kurzbz) ON UPDATE CASCADE ON DELETE RESTRICT,