module Hypershield::Migration

Public Instance Methods

method_missing(method, *args) click to toggle source
Calls superclass method
# File lib/hypershield/migration.rb, line 3
def method_missing(method, *args)
  if [
    :change_column, :drop_table, :remove_column, :remove_columns,
    :remove_timestamps, :rename_column, :rename_table
  ].include?(method)
    Hypershield.drop_view(args[0])
  end

  super
end