Merge pull request #143 from MycroftAI/agreement-hotfix

make OID column nullable
pull/145/head
Chris Veilleux 2019-05-20 15:24:01 -05:00 committed by GitHub
commit 1d62a30c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ CREATE TABLE account.agreement (
agreement agreement_enum NOT NULL,
version text NOT NULL,
effective daterange NOT NULL,
content_id oid NOT NULL,
content_id oid,
insert_ts TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
EXCLUDE USING gist (agreement WITH =, effective WITH &&),
UNIQUE (agreement, version)