From aa20e03e8d3cc5138ca22bc526e25273b6bac0d0 Mon Sep 17 00:00:00 2001 From: Matt Jia Date: Wed, 1 Feb 2017 10:21:49 +1000 Subject: [PATCH] fix a syntax error introduced by commit 6f4c576 --- docs/schema-upgrade-1.10-1.11.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/schema-upgrade-1.10-1.11.sql b/docs/schema-upgrade-1.10-1.11.sql index 8f562606..4ae2bf5a 100644 --- a/docs/schema-upgrade-1.10-1.11.sql +++ b/docs/schema-upgrade-1.10-1.11.sql @@ -110,7 +110,7 @@ SELECT statement_timestamp(), 'Altering buildroot table (altering constraints)' ALTER TABLE buildroot ADD CONSTRAINT cg_sane CHECK ( (cg_id IS NULL AND cg_version IS NULL) OR (cg_id IS NOT NULL AND cg_version IS NOT NULL)); -UPDATE TABLE buildroot SET container_type = 'chroot' WHERE container_type IS NULL AND container_arch IS NOT NULL; +UPDATE buildroot SET container_type = 'chroot' WHERE container_type IS NULL AND container_arch IS NOT NULL; ALTER TABLE buildroot ADD CONSTRAINT container_sane CHECK ( (container_type IS NULL AND container_arch IS NULL) OR (container_type IS NOT NULL AND container_arch IS NOT NULL));