Skip to content

Commit 2095a8a

Browse files
committed
fix: Updaating Migration files
1 parent 543b118 commit 2095a8a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/production.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ jobs:
2323
version: latest
2424

2525
- run: supabase link --project-ref $SUPABASE_PROJECT_ID --workdir ./apps/next
26-
- run: supabase db reset --linked --workdir ./apps/next
2726
- run: supabase db push --workdir ./apps/next

apps/next/supabase/migrations/20240507084838_user.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ CREATE TRIGGER update_email_in_profiles_trigger AFTER UPDATE OF email ON auth.us
137137
CREATE TRIGGER handle_user_becomes_permanent_trigger AFTER UPDATE OF email ON auth.users FOR EACH ROW WHEN (((old.email IS null) AND (new.email IS not null))) EXECUTE FUNCTION handle_new_user();
138138

139139
SELECT cron.schedule (
140-
'anonymous-users-cleanup'
140+
'anonymous-users-cleanup',
141141
'30 3 * * 6', -- Saturday at 3:30am (GMT)
142142
$$ DELETE FROM auth.users WHERE is_anonymous = TRUE; $$
143143
);

0 commit comments

Comments
 (0)