Files
sexy/drizzle/0002_add_session_replay_fields.sql
T

4 lines
365 B
SQL
Raw Normal View History

ALTER TABLE `play_sessions` ADD `description` text;--> statement-breakpoint
ALTER TABLE `play_sessions` ADD `replayed_session_id` integer REFERENCES play_sessions(id) ON DELETE SET NULL;--> statement-breakpoint
ALTER TABLE `play_sessions` ADD `play_count` integer DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE `play_sessions` ADD `last_played_at` integer;