Add migration to drop `smiles` table

This commit is contained in:
Karina Kwiatek 2022-07-05 23:30:01 +02:00 committed by Karina Kwiatek
parent 1ec99dd767
commit ee7ef9ceca
1 changed files with 11 additions and 0 deletions

View 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