Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

761 B
Raw Blame
-- removes the public reply options from automation_rules, deleting rules without a private reply first because the old shape refuses them
delete from public.automation_rules where not private_reply_enabled;
alter table public.automation_rules
    drop constraint if exists automation_rules_follow_private_check,
    drop constraint if exists automation_rules_public_reply_texts_check,
    drop constraint if exists automation_rules_actions_check,
    drop constraint if exists automation_rules_reply_text_check,
    drop column if exists public_reply_texts,
    drop column if exists public_reply_enabled,
    drop column if exists private_reply_enabled,
    add constraint automation_rules_reply_text_check check (char_length(reply_text) between 1 and 1000);