From 155fc7c3ddb1291eeccdc33766afde29401afa2e Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 6 Oct 2026 11:20:51 +0100 Subject: [PATCH] Schema version 1.1.0 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 --- README.md | 2 +- VERSION | 2 +- sql/10_schema_version.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8d06f31..9398869 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ timeseries database. Both client libraries target the schema defined here: Neither project should keep its own copy of the DDL. When the schema changes, it changes **here**, and both projects re-provision / re-test against it. -Current schema version: **1.0.0** (see [`VERSION`](VERSION); recorded at runtime +Current schema version: **1.1.0** (see [`VERSION`](VERSION); recorded at runtime in the `meta.schema_version` table). --- diff --git a/VERSION b/VERSION index 3eefcb9..9084fa2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 +1.1.0 diff --git a/sql/10_schema_version.sql b/sql/10_schema_version.sql index 120704a..00c6866 100644 --- a/sql/10_schema_version.sql +++ b/sql/10_schema_version.sql @@ -5,4 +5,4 @@ -- they were built for (Python: DB_SCHEMA_VERSION in tsapi_pgdb/_version.py). INSERT INTO meta.schema_version (version, description) -VALUES ('1.0.0', 'Initial schema'); +VALUES ('1.1.0', 'meta.find_schema_problems(); every install runs 00-10');