From 83dfa3a2e6fd0b33a87f89707069dbbbd703d8d6 Mon Sep 17 00:00:00 2001 From: fengzero Date: Thu, 7 Nov 2024 03:01:11 +0000 Subject: [PATCH] db array --- .../{0090_2.11.0_tag_type.sql => 0110_2.11.0_tag_type.sql} | 2 +- persistence/{0091_2.11.0_group.sql => 0111_2.11.0_group.sql} | 0 persistence/{0092_2.11.0_tag.sql => 0112_2.11.0_tag.sql} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename persistence/{0090_2.11.0_tag_type.sql => 0110_2.11.0_tag_type.sql} (97%) rename persistence/{0091_2.11.0_group.sql => 0111_2.11.0_group.sql} (100%) rename persistence/{0092_2.11.0_tag.sql => 0112_2.11.0_tag.sql} (97%) diff --git a/persistence/0090_2.11.0_tag_type.sql b/persistence/0110_2.11.0_tag_type.sql similarity index 97% rename from persistence/0090_2.11.0_tag_type.sql rename to persistence/0110_2.11.0_tag_type.sql index 63ec2e051..083e94e9d 100644 --- a/persistence/0090_2.11.0_tag_type.sql +++ b/persistence/0110_2.11.0_tag_type.sql @@ -30,7 +30,7 @@ CREATE TABLE precision INTEGER NOT NULL check (precision BETWEEN 0 AND 17), decimal REAL NOT NULL, bias REAL NOT NULL check (bias BETWEEN -1000 AND 1000), - type INTEGER NOT NULL check (type BETWEEN 0 AND 22), + type INTEGER NOT NULL check (type BETWEEN 0 AND 40), description TEXT NULL check (length (description) <= 512), value TEXT, UNIQUE (driver_name, group_name, name), diff --git a/persistence/0091_2.11.0_group.sql b/persistence/0111_2.11.0_group.sql similarity index 100% rename from persistence/0091_2.11.0_group.sql rename to persistence/0111_2.11.0_group.sql diff --git a/persistence/0092_2.11.0_tag.sql b/persistence/0112_2.11.0_tag.sql similarity index 97% rename from persistence/0092_2.11.0_tag.sql rename to persistence/0112_2.11.0_tag.sql index 937995d6f..3dd97cfaa 100644 --- a/persistence/0092_2.11.0_tag.sql +++ b/persistence/0112_2.11.0_tag.sql @@ -30,7 +30,7 @@ CREATE TABLE precision INTEGER NOT NULL check (precision BETWEEN 0 AND 17), decimal REAL NOT NULL, bias REAL NOT NULL check (bias BETWEEN -1000 AND 1000), - type INTEGER NOT NULL check (type BETWEEN 0 AND 22), + type INTEGER NOT NULL check (type BETWEEN 0 AND 40), description TEXT NULL check (length (description) <= 512), value TEXT, UNIQUE (driver_name, group_name, name),