Skip to content

Commit

Permalink
Drop datasets table (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcorrea authored Aug 31, 2022
1 parent ea4c3be commit 5126de9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
9 changes: 9 additions & 0 deletions db/migrate/20220831154828_drop_datasets_table.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class DropDatasetsTable < ActiveRecord::Migration[6.1]
def up
drop_table :datasets
end
def down
# https://stackoverflow.com/a/7779954/446681
raise ActiveRecord::IrreversibleMigration
end
end
13 changes: 1 addition & 12 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5126de9

Please sign in to comment.