automx: the seed writes the schema 2021.6 reads

The hand-written seed predates automx2's prio column, so every
config-v1.1.xml request 500'd against a table the seed had just made —
and the predecessor's own database had the same gap: client
autoconfiguration has been silently broken on the old stack for a long
time, behind a root page that answered 200. The live database gained
the column by ALTER; a fresh mesh now seeds it right.
This commit is contained in:
2026-09-26 00:06:24 +02:00
parent c8c939a595
commit 480627fdd9
+1
View File
@@ -32,6 +32,7 @@ EOT
SERVER=$(cat <<EOT SERVER=$(cat <<EOT
CREATE TABLE server( CREATE TABLE server(
id INT PRIMARY KEY NOT NULL, id INT PRIMARY KEY NOT NULL,
prio INT NOT NULL DEFAULT 10,
name TEXT NOT NULL, name TEXT NOT NULL,
port INT NOT NULL, port INT NOT NULL,
type TEXT NOT NULL, type TEXT NOT NULL,