Permalink
Browse files

Migrated some migrations :)

  • Loading branch information...
1 parent 0a6ab3d commit 308f9c8d0574db3e83b5cdd6d532728b3358d231 @mitio committed Mar 25, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 db/schema.rb
View
@@ -22,6 +22,7 @@
end
add_index "albums", ["user_id", "title"], :name => "index_albums_on_user_id_and_title", :unique => true
+ add_index "albums", ["user_id"], :name => "index_albums_on_user_id"
create_table "comments", :force => true do |t|
t.integer "user_id", :null => false
@@ -57,10 +58,10 @@
add_index "photos", ["album_id"], :name => "index_photos_on_album_id"
create_table "users", :force => true do |t|
- t.string "username", :null => false
+ t.string "username", :null => false
t.string "hashed_password"
t.string "full_name"
- t.string "email", :null => false
+ t.string "email", :null => false
t.text "description"
t.datetime "created_at"
t.datetime "updated_at"

0 comments on commit 308f9c8

Please sign in to comment.