We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d53ef commit 4edecc7Copy full SHA for 4edecc7
libs/migrations/postgres/20260106011133_add_plans_table.sql
@@ -64,7 +64,7 @@ CREATE OR REPLACE FUNCTION set_default_plan_for_channel()
64
RETURNS TRIGGER AS $$
65
BEGIN
66
IF NEW.plan_id IS NULL THEN
67
- NEW.plan_id := (SELECT id FROM plans WHERE name = 'free' LIMIT 1);
+ NEW.plan_id := (SELECT id FROM plans WHERE name = 'Free' LIMIT 1);
68
END IF;
69
RETURN NEW;
70
END;
0 commit comments