Skip to content
Extraits de code Groupes Projets
Valider 460f25e8 rédigé par Raphael's avatar Raphael
Parcourir les fichiers

run gladiac's migration, rename migration file so it finds class

parent 8c9aa224
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -157,12 +157,12 @@ ActiveRecord::Schema.define(:version => 20110202015222) do
create_table "mongo_notifications", :force => true do |t|
t.string "mongo_id"
t.string "target_type"
t.string "target_mongo_id"
t.string "target_type", :limit => 127
t.string "target_mongo_id", :limit => 127
t.string "recipient_mongo_id"
t.string "actor_mongo_id"
t.string "action"
t.boolean "unread", :default => true
t.boolean "unread", :default => true
t.datetime "created_at"
t.datetime "updated_at"
end
......@@ -220,15 +220,15 @@ ActiveRecord::Schema.define(:version => 20110202015222) do
create_table "mongo_profiles", :force => true do |t|
t.string "diaspora_handle"
t.string "first_name"
t.string "last_name"
t.string "first_name", :limit => 127
t.string "last_name", :limit => 127
t.string "image_url"
t.string "image_url_small"
t.string "image_url_medium"
t.date "birthday"
t.string "gender"
t.text "bio"
t.boolean "searchable", :default => true
t.boolean "searchable", :default => true
t.string "person_mongo_id"
t.datetime "created_at"
t.datetime "updated_at"
......@@ -241,8 +241,8 @@ ActiveRecord::Schema.define(:version => 20110202015222) do
create_table "mongo_requests", :force => true do |t|
t.string "mongo_id"
t.string "sender_mongo_id"
t.string "recipient_mongo_id"
t.string "sender_mongo_id", :limit => 127
t.string "recipient_mongo_id", :limit => 127
t.string "aspect_mongo_id"
t.datetime "created_at"
t.datetime "updated_at"
......@@ -376,16 +376,16 @@ ActiveRecord::Schema.define(:version => 20110202015222) do
create_table "profiles", :force => true do |t|
t.string "diaspora_handle"
t.string "first_name"
t.string "last_name"
t.string "first_name", :limit => 127
t.string "last_name", :limit => 127
t.string "image_url"
t.string "image_url_small"
t.string "image_url_medium"
t.date "birthday"
t.string "gender"
t.text "bio"
t.boolean "searchable", :default => true, :null => false
t.integer "person_id", :null => false
t.boolean "searchable", :default => true, :null => false
t.integer "person_id", :null => false
t.datetime "created_at"
t.datetime "updated_at"
t.string "mongo_id"
......@@ -395,7 +395,7 @@ ActiveRecord::Schema.define(:version => 20110202015222) do
add_index "profiles", ["first_name", "searchable"], :name => "index_profiles_on_first_name_and_searchable"
add_index "profiles", ["last_name", "searchable"], :name => "index_profiles_on_last_name_and_searchable"
add_index "profiles", ["mongo_id"], :name => "index_profiles_on_mongo_id"
add_index "profiles", ["person_id"], :name => "index_profiles_on_person_id", :unique => true
add_index "profiles", ["person_id"], :name => "index_profiles_on_person_id"
create_table "requests", :force => true do |t|
t.integer "sender_id", :null => false
......@@ -457,8 +457,8 @@ ActiveRecord::Schema.define(:version => 20110202015222) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "mongo_id"
t.string "invitation_service"
t.string "invitation_identifier"
t.string "invitation_service", :limit => 127
t.string "invitation_identifier", :limit => 127
end
add_index "users", ["email"], :name => "index_users_on_email"
......
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