summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/modules/Settings.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/modules/Settings.sql b/sql/modules/Settings.sql
index 9c2abb59..0cd93c72 100644
--- a/sql/modules/Settings.sql
+++ b/sql/modules/Settings.sql
@@ -71,4 +71,4 @@ $$ LANGUAGE PLPGSQL;
-- Table schema defaults
-ALTER TABLE entity ADD control_code TEXT default setting_increment('entity_control');
+ALTER TABLE entity ALTER control_code SET default setting_increment('entity_control');