mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
chore: squash inactive mysql sqlite migrations
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user