feat: add bitrateMatrixOverrides to types, schema, and migration
This commit is contained in:
@@ -79,7 +79,8 @@ export function runMigrations(db: Database.Database): void {
|
||||
{ name: 'instance_name', type: "TEXT DEFAULT 'Backspace'" },
|
||||
{ name: 'worker_id', type: 'INTEGER' },
|
||||
{ name: 'discovery_enabled', type: 'INTEGER NOT NULL DEFAULT 1' },
|
||||
{ name: 'registration_open', type: 'INTEGER' }
|
||||
{ name: 'registration_open', type: 'INTEGER' },
|
||||
{ name: 'bitrate_matrix_overrides', type: 'TEXT DEFAULT NULL' }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -258,6 +258,7 @@ export const instanceSettings = sqliteTable('instance_settings', {
|
||||
maxFramerate: integer('max_framerate').notNull().default(60),
|
||||
registrationOpen: integer('registration_open'), // null = use env var default, 0/1 = explicit
|
||||
gifApiKey: text('gif_api_key'),
|
||||
bitrateMatrixOverrides: text('bitrate_matrix_overrides'),
|
||||
updatedAt: integer('updated_at').notNull(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user