diff options
author | Francis Irving <francis@mysociety.org> | 2010-07-18 03:20:29 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-07-18 03:20:29 +0100 |
commit | 57aa8cc12e47efd6f79acd7349d4805cd4c986b9 (patch) | |
tree | 6ba491b4ad089a6a203e878496f7c27d1884618e | |
parent | f3d439bf4bf065e70e912d7d1028b4b7b2e3cb9c (diff) |
Forgot this part of migration
-rw-r--r-- | db/migrate/086_allow_null_profile_photo_user.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/086_allow_null_profile_photo_user.rb b/db/migrate/086_allow_null_profile_photo_user.rb new file mode 100644 index 000000000..f4e107848 --- /dev/null +++ b/db/migrate/086_allow_null_profile_photo_user.rb @@ -0,0 +1,9 @@ +class AllowNullProfilePhotoUser < ActiveRecord::Migration + def self.up + change_column :profile_photos, :user_id, :integer, :null => true + end + + def self.down + raise "No reverse migration" + end +end |