lib/hypershield/migration.rb in hypershield-0.3.0 vs lib/hypershield/migration.rb in hypershield-0.3.1
- old
+ new
@@ -1,10 +1,11 @@
module Hypershield
module Migration
def method_missing(method, *args)
if [
- :change_column, :drop_table, :remove_column, :remove_columns,
- :remove_timestamps, :rename_column, :rename_table
+ :change_column, :change_table, :drop_join_table, :drop_table,
+ :remove_belongs_to, :remove_column, :remove_columns,
+ :remove_reference, :remove_timestamps, :rename_column, :rename_table
].include?(method)
Hypershield.drop_view(args[0])
end
super