Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

20240731_1_users_accepted_cookies.sql
-- Create field to store if player accepted cookies

DO $$
BEGIN
    IF NOT EXISTS (
        SELECT 1 FROM pg_class c
        INNER JOIN pg_namespace n ON n.oid = c.relnamespace
        INNER JOIN pg_attribute a ON a.attrelid = c.oid
        WHERE c.relname = 'users' AND n.nspname = 'auth' AND a.attname = 'accept_cookies'
    ) THEN
        ALTER TABLE auth.users ADD COLUMN accept_cookies BOOLEAN NULL;
    END IF;
END
$$;