aboutsummaryrefslogtreecommitdiff
path: root/data/sql/commit.sql
diff options
context:
space:
mode:
Diffstat (limited to 'data/sql/commit.sql')
-rw-r--r--data/sql/commit.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/sql/commit.sql b/data/sql/commit.sql
index 7a4b74ad..3cdb0861 100644
--- a/data/sql/commit.sql
+++ b/data/sql/commit.sql
@@ -9,6 +9,9 @@ CREATE INDEX grid_transformation_idx ON grid_transformation(source_crs_auth_name
CREATE INDEX other_transformation_idx ON other_transformation(source_crs_auth_name, source_crs_code, target_crs_auth_name, target_crs_code);
CREATE INDEX concatenated_operation_idx ON concatenated_operation(source_crs_auth_name, source_crs_code, target_crs_auth_name, target_crs_code);
+-- We don't need to select by auth_name, code so nullify them to save space
+UPDATE usage SET auth_name = NULL, code = NULL;
+
-- Final consistency checks
CREATE TABLE dummy(foo);
CREATE TRIGGER final_checks