diff --git a/db/migrate/20110123210746_alter_string_colums.rb b/db/migrate/20110123210746_alter_string_columns.rb similarity index 100% rename from db/migrate/20110123210746_alter_string_colums.rb rename to db/migrate/20110123210746_alter_string_columns.rb diff --git a/db/schema.rb b/db/schema.rb index 7744fb065..a11b1c8e5 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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"