From 680d1eb93bfd0ffa274da2a28dc7fce704a059b9 Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Sat, 25 Jan 2020 02:23:18 +0100
Subject: Implement RFC 5

---
 data/sql/commit.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'data/sql/commit.sql')

diff --git a/data/sql/commit.sql b/data/sql/commit.sql
index b2bdc046..a3028586 100644
--- a/data/sql/commit.sql
+++ b/data/sql/commit.sql
@@ -133,9 +133,9 @@ FOR EACH ROW BEGIN
     SELECT RAISE(ABORT, 'missing GEOID18 in geoid_model')
         WHERE NOT EXISTS(SELECT 1 FROM geoid_model WHERE name = 'GEOID18');
 
-    -- check presence of NZ height shift grids
-    SELECT RAISE(ABORT, 'missing NZ height shift grids')
-        WHERE NOT EXISTS(SELECT 1 FROM grid_alternatives WHERE original_grid_name = 'auckht1946-nzvd2016.gtx');
+    -- check presence of au_ga_AUSGeoid98.tif
+    SELECT RAISE(ABORT, 'missing au_ga_AUSGeoid98.tif')
+        WHERE NOT EXISTS(SELECT 1 FROM grid_alternatives WHERE proj_grid_name = 'au_ga_AUSGeoid98.tif');
 
 END;
 INSERT INTO dummy DEFAULT VALUES;
-- 
cgit v1.2.3

