Skip to content
Extraits de code Groupes Projets
Valider 358bf0a8 rédigé par zhitomirskiyi's avatar zhitomirskiyi
Parcourir les fichiers

fix migration on open aspects boolean

parent 21e3c2ae
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
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 @@ ...@@ -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 ...@@ -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"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter