lib/legion/data/migrations/005_add_envs.rb in legion-data-0.2.0 vs lib/legion/data/migrations/005_add_envs.rb in legion-data-1.1.2
- old
+ new
@@ -17,8 +17,8 @@
CONSTRAINT `environments_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 :environments
+ drop_table :environments
end
end