From 85eb5586817247e8d145351f77a7fd5f160facb8 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Fri, 13 Dec 2019 14:48:21 -0500 Subject: [PATCH 1/2] contenttype can be non-null because dataset tools do not require it #6459 --- .../db/migration/V4.18.1.1__6459-contenttype-nullable.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql diff --git a/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql b/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql new file mode 100644 index 00000000000..b5bdcc3519d --- /dev/null +++ b/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql @@ -0,0 +1,2 @@ +-- contenttype can be non-null because dataset tools do not require it +ALTER TABLE externaltool ALTER contenttype DROP NOT NULL; From 72bc48819dbd6b570e0aad5b15e19a487dc8e5d8 Mon Sep 17 00:00:00 2001 From: Danny Brooke Date: Mon, 16 Dec 2019 11:27:44 -0500 Subject: [PATCH 2/2] changing from non-null to null per standup discussion --- .../db/migration/V4.18.1.1__6459-contenttype-nullable.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql b/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql index b5bdcc3519d..79eab8583f0 100644 --- a/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql +++ b/src/main/resources/db/migration/V4.18.1.1__6459-contenttype-nullable.sql @@ -1,2 +1,2 @@ --- contenttype can be non-null because dataset tools do not require it +-- contenttype can be null because dataset tools do not require it ALTER TABLE externaltool ALTER contenttype DROP NOT NULL;