Skip to content

Instantly share code, notes, and snippets.

@dip00dip
Created October 11, 2017 14:32
Show Gist options
  • Save dip00dip/27a4d36d3ccfdf3104c1c1d09b8514ec to your computer and use it in GitHub Desktop.
Save dip00dip/27a4d36d3ccfdf3104c1c1d09b8514ec to your computer and use it in GitHub Desktop.
remove dj table migration
class DropDelayedJobTable < ActiveRecord::Migration
def up
drop_table :delayed_jobs
end
def down
raise ActiveRecord::IrreversibleMigration
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment