fix migration on open aspects boolean
This commit is contained in:
parent
21e3c2ae73
commit
358bf0a856
2 changed files with 2 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
class AddOpenAspectsToUser < ActiveRecord::Migration
|
class AddOpenToAspects < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
add_column(:aspects, :open, :boolean, :default => false)
|
add_column(:aspects, :open, :boolean, :default => false)
|
||||||
end
|
end
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# 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|
|
create_table "aspect_memberships", :force => true do |t|
|
||||||
t.integer "aspect_id", :null => false
|
t.integer "aspect_id", :null => false
|
||||||
|
|
@ -313,10 +313,8 @@ ActiveRecord::Schema.define(:version => 20110130072907) do
|
||||||
t.boolean "unread", :default => true, :null => false
|
t.boolean "unread", :default => true, :null => false
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "mongo_id"
|
|
||||||
end
|
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", ["recipient_id"], :name => "index_notifications_on_recipient_id"
|
||||||
add_index "notifications", ["target_id"], :name => "index_notifications_on_target_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"
|
add_index "notifications", ["target_type", "target_id"], :name => "index_notifications_on_target_type_and_target_id"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue