From ee7ef9ceca4119b418eecbdf9dd9ee15c2516a9a Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Tue, 5 Jul 2022 23:30:01 +0200 Subject: [PATCH] Add migration to drop `smiles` table --- db/migrate/20220705212912_drop_smiles_table.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migrate/20220705212912_drop_smiles_table.rb diff --git a/db/migrate/20220705212912_drop_smiles_table.rb b/db/migrate/20220705212912_drop_smiles_table.rb new file mode 100644 index 00000000..bb468a26 --- /dev/null +++ b/db/migrate/20220705212912_drop_smiles_table.rb @@ -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