Resolve an issue where migrations would be canceled in production Rails.env
authorMarius Mathiesen <marius@gitorious.org>
Wed, 31 Oct 2012 12:44:29 +0000 (13:44 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Wed, 31 Oct 2012 12:44:29 +0000 (13:44 +0100)
commit1849f74326044cd36fc9ec7c574fd8047fa46a77
treee1dea5c3d651904f1ae510746a73599bb5c93a42
parent347169f20e7c3cbffca9ed0f798c4c579b56681d
Resolve an issue where migrations would be canceled in production Rails.env

Referencing a model inside a migration seems to confuse AR's mapping
of tables and columns. Doing a raw execute resolves this.
db/migrate/20120223093906_make_project_membership_polymorphic_on_subject.rb