mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 00:56:05 +01:00
Add migration to drop smiles
table
This commit is contained in:
parent
1ec99dd767
commit
ee7ef9ceca
1 changed files with 11 additions and 0 deletions
11
db/migrate/20220705212912_drop_smiles_table.rb
Normal file
11
db/migrate/20220705212912_drop_smiles_table.rb
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
class DropSmilesTable < ActiveRecord::Migration[6.1]
|
||||||
|
def up
|
||||||
|
drop_table :smiles
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
raise ActiveRecord::IrreversibleMigration
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue