Canonical TSAPI series DB schema v1.0.0

Single source of truth for the timeseries PostgreSQL schema shared by the
Python (TSAPI_SERIESDB_PG_PY) and C++ (TSAPI_POSTGRES_CPP) libraries. SQL
seeded byte-for-byte from TSAPI_SERIESDB_PG_PY/tsapi_pgdb/sql on 2026-09-02.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
peter 2026-09-02 17:27:26 +01:00
commit eed06559c0
17 changed files with 2080 additions and 0 deletions

16
sql/02_sequences.sql Normal file
View file

@ -0,0 +1,16 @@
-- Sequences
-- Generated: 2025-10-15T12:24:56.037289
CREATE SEQUENCE meta._table_meta__table_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO CYCLE
;
CREATE SEQUENCE log.event_log_id_seq
AS bigint
START WITH 1
INCREMENT BY 1
NO CYCLE
;