Files
evening_detective_server/migrations/20260910160000_add_screen_command.sql
2026-09-10 12:18:37 +07:00

10 lines
284 B
SQL

-- +goose Up
ALTER TABLE screen_sessions
ADD COLUMN IF NOT EXISTS command INTEGER NOT NULL DEFAULT 0,
ADD COLUMN IF NOT EXISTS volume INTEGER NOT NULL DEFAULT 25;
-- +goose Down
ALTER TABLE screen_sessions
DROP COLUMN IF EXISTS volume,
DROP COLUMN IF EXISTS command;