Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# frozen_string_literal: true

class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %>
def up
schedule_pg_cron_job "<%= file_name %>"
end

down
def down
unschedule_pg_cron_job "<%= file_name %>"
end
end