meta.find_schema_problems() (09), the version row in the DDL (10), every install running 00-10, and the removal of sql/migrate/ changed what a complete database is. Databases from 1.0.0 are re-provisioned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
521 B
SQL
8 lines
521 B
SQL
-- ============================================================================
|
|
-- Schema version row -- runs last, so a database that has it is complete.
|
|
-- ============================================================================
|
|
-- Keep this string equal to ../VERSION. Clients compare it with the version
|
|
-- they were built for (Python: DB_SCHEMA_VERSION in tsapi_pgdb/_version.py).
|
|
|
|
INSERT INTO meta.schema_version (version, description)
|
|
VALUES ('1.1.0', 'meta.find_schema_problems(); every install runs 00-10');
|