diff --git a/db/migrate/20110201013408_add_open_aspects_to_user.rb b/db/migrate/20110202015222_add_open_to_aspects.rb similarity index 72% rename from db/migrate/20110201013408_add_open_aspects_to_user.rb rename to db/migrate/20110202015222_add_open_to_aspects.rb index 11d7f94703d6f936a8e8db36b0cb3ea68bc2edda..cf5905c3d47c156cd4f0fd82f33fbcd0e95611eb 100644 --- a/db/migrate/20110201013408_add_open_aspects_to_user.rb +++ b/db/migrate/20110202015222_add_open_to_aspects.rb @@ -1,4 +1,4 @@ -class AddOpenAspectsToUser < ActiveRecord::Migration +class AddOpenToAspects < ActiveRecord::Migration def self.up add_column(:aspects, :open, :boolean, :default => false) end diff --git a/db/schema.rb b/db/schema.rb index 1cffb2288119e7b9c4556afa503870a0b2c508f1..7744fb065bb068f1149b1ae4e463799fb05fe8c3 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20110130072907) do +ActiveRecord::Schema.define(:version => 20110202015222) do create_table "aspect_memberships", :force => true do |t| t.integer "aspect_id", :null => false @@ -313,10 +313,8 @@ ActiveRecord::Schema.define(:version => 20110130072907) do t.boolean "unread", :default => true, :null => false t.datetime "created_at" t.datetime "updated_at" - t.string "mongo_id" end - add_index "notifications", ["mongo_id"], :name => "index_notifications_on_mongo_id" add_index "notifications", ["recipient_id"], :name => "index_notifications_on_recipient_id" add_index "notifications", ["target_id"], :name => "index_notifications_on_target_id" add_index "notifications", ["target_type", "target_id"], :name => "index_notifications_on_target_type_and_target_id"