From 399a8332193a4e132dcd6bca79747c289b1838ae Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Sun, 4 Apr 2021 19:26:42 +0200
Subject: Database: add a PROJ.VERSION metadata entry

---
 data/sql/metadata.sql | 4 ++++
 1 file changed, 4 insertions(+)

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

diff --git a/data/sql/metadata.sql b/data/sql/metadata.sql
index bb8e3095..5a196c0b 100644
--- a/data/sql/metadata.sql
+++ b/data/sql/metadata.sql
@@ -11,3 +11,7 @@ INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MINOR', 0);
 
 INSERT INTO "metadata" VALUES('EPSG.VERSION', 'v10.018');
 INSERT INTO "metadata" VALUES('EPSG.DATE', '2021-04-02');
+
+-- The value of ${PROJ_VERSION} is substituted at build time by the actual
+-- value.
+INSERT INTO "metadata" VALUES('PROJ.VERSION', '${PROJ_VERSION}');
-- 
cgit v1.2.3

