From 3a29bef99f08c2c902cb06c10af663a8e7398412 Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Sat, 7 May 2011 23:36:10 +0200 Subject: [PATCH] This should fix any 500 at notifications-page. Thanks @MrZYX an Chandler --- ...20110507212759_remove_type_null_notifications.rb | 13 +++++++++++++ db/schema.rb | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20110507212759_remove_type_null_notifications.rb diff --git a/db/migrate/20110507212759_remove_type_null_notifications.rb b/db/migrate/20110507212759_remove_type_null_notifications.rb new file mode 100644 index 000000000..e2e023f9f --- /dev/null +++ b/db/migrate/20110507212759_remove_type_null_notifications.rb @@ -0,0 +1,13 @@ +class RemoveTypeNullNotifications < ActiveRecord::Migration + def self.up + execute < 20110421120744) do +ActiveRecord::Schema.define(:version => 20110507212759) do create_table "aspect_memberships", :force => true do |t| t.integer "aspect_id", :null => false