-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2474 from rouault/database_version_number
Database: add metadata with the version number of the database layout …
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
-- Version of the database structure. | ||
-- The major number indicates an incompatible change (e.g. table or column | ||
-- removed or renamed). | ||
-- The minor number is incremented if a backward compatible change done, that | ||
-- is the new database can still work with an older PROJ version. | ||
-- When updating those numbers, the DATABASE_LAYOUT_VERSION_MAJOR and | ||
-- DATABASE_LAYOUT_VERSION_MINOR constants in src/iso19111/factory.cpp must be | ||
-- updated as well. | ||
INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MAJOR', 1); | ||
INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MINOR', 0); | ||
|
||
INSERT INTO "metadata" VALUES('EPSG.VERSION', 'v10.007'); | ||
INSERT INTO "metadata" VALUES('EPSG.DATE', '2020-11-18'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters