ALTER TABLE games
    ADD COLUMN IF NOT EXISTS tv_enabled TINYINT(1) NOT NULL DEFAULT 0 AFTER orientation,
    ADD COLUMN IF NOT EXISTS tv_profile VARCHAR(40) NOT NULL DEFAULT '' AFTER tv_enabled,
    ADD COLUMN IF NOT EXISTS tv_config_version INT NOT NULL DEFAULT 0 AFTER tv_profile;

