init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE screen_sessions
|
||||
ADD COLUMN IF NOT EXISTS sound_enabled BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
ADD COLUMN IF NOT EXISTS last_seen_at TIMESTAMP NOT NULL DEFAULT NOW();
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE screen_sessions
|
||||
DROP COLUMN IF EXISTS last_seen_at,
|
||||
DROP COLUMN IF EXISTS sound_enabled;
|
||||
Reference in New Issue
Block a user