chore: squash inactive mysql sqlite migrations

This commit is contained in:
fawney19
2026-05-06 03:09:53 +08:00
parent d7c2232062
commit 6219491389
25 changed files with 1095 additions and 515 deletions

View File

@@ -21,6 +21,7 @@ CREATE TABLE IF NOT EXISTS `usage` (
`provider_endpoint_kind` VARCHAR(64),
`has_format_conversion` TINYINT(1) NOT NULL DEFAULT 0,
`is_stream` TINYINT(1) NOT NULL DEFAULT 0,
`upstream_is_stream` TINYINT(1),
`input_tokens` BIGINT NOT NULL DEFAULT 0,
`output_tokens` BIGINT NOT NULL DEFAULT 0,
`input_output_total_tokens` BIGINT NOT NULL DEFAULT 0,

View File

@@ -21,6 +21,7 @@ CREATE TABLE IF NOT EXISTS public.usage (
provider_endpoint_kind character varying(64),
has_format_conversion boolean DEFAULT false NOT NULL,
is_stream boolean DEFAULT false NOT NULL,
upstream_is_stream boolean,
input_tokens bigint DEFAULT 0 NOT NULL,
output_tokens bigint DEFAULT 0 NOT NULL,
input_output_total_tokens bigint DEFAULT 0 NOT NULL,

View File

@@ -21,6 +21,7 @@ CREATE TABLE IF NOT EXISTS "usage" (
provider_endpoint_kind TEXT,
has_format_conversion INTEGER NOT NULL DEFAULT 0,
is_stream INTEGER NOT NULL DEFAULT 0,
upstream_is_stream INTEGER,
input_tokens INTEGER NOT NULL DEFAULT 0,
output_tokens INTEGER NOT NULL DEFAULT 0,
input_output_total_tokens INTEGER NOT NULL DEFAULT 0,