lib/legion/data/migrations/004_add_chains.rb in legion-data-0.2.0 vs lib/legion/data/migrations/004_add_chains.rb in legion-data-1.1.2
- old
+ new
@@ -18,8 +18,8 @@
CONSTRAINT `chains_user_owner` FOREIGN KEY (`user_owner`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;"
end
down do
- drop :chains
+ drop_table :chains
end
end