From: Mark Huang Date: Wed, 31 Jan 2007 19:55:12 +0000 (+0000) Subject: - Remove NOT NULL constraint from creator_person_id in case the X-Git-Tag: pycurl-7_13_1~34 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a48266f78b43aa1569c6353eecbe2f90cb0bbd46;p=plcapi.git - Remove NOT NULL constraint from creator_person_id in case the creator is deleted. --- diff --git a/migrations/002-up-slices.sql b/migrations/002-up-slices.sql new file mode 100644 index 00000000..4bf656db --- /dev/null +++ b/migrations/002-up-slices.sql @@ -0,0 +1,6 @@ +-- Remove NOT NULL constraint from creator_person_id in case the +-- creator is deleted. +ALTER TABLE slices ALTER creator_person_id DROP NOT NULL; + +-- Bump subversion +UPDATE plc_db_version SET subversion = 2;