From: Thierry Parmentelat Date: Thu, 12 Nov 2020 22:14:24 +0000 (+0100) Subject: oops, there were OIDS in the migrations too... X-Git-Tag: plcapi-7.1-0~5 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=79e3509b31651755422ef109bd3895bb06d02a54;p=plcapi.git oops, there were OIDS in the migrations too... --- diff --git a/migrations/101-up-leases.sql b/migrations/101-up-leases.sql index 0c9b538..a22d513 100644 --- a/migrations/101-up-leases.sql +++ b/migrations/101-up-leases.sql @@ -14,7 +14,7 @@ CREATE TABLE leases ( -- xxx for testing -- CONSTRAINT future CHECK (t_from > CURRENT_TIMESTAMP), CONSTRAINT start_before_end CHECK (t_until > t_from) -) WITH OIDS; +); -- -- hook to check for overlapping time slots on a given node_id diff --git a/migrations/103-up-extensions.sql b/migrations/103-up-extensions.sql index c411049..3edf644 100644 --- a/migrations/103-up-extensions.sql +++ b/migrations/103-up-extensions.sql @@ -1,6 +1,6 @@ CREATE TABLE plc_db_extensions ( name text NOT NULL PRIMARY KEY, version integer NOT NULL -) WITH OIDS; +); UPDATE plc_db_version SET subversion = 103;