diff options
author | Steven Thonus <github@popl.nl> | 2013-10-06 20:13:56 +0200 |
---|---|---|
committer | Steven Thonus <github@popl.nl> | 2013-10-09 09:05:09 +0200 |
commit | 65cad57a35002a9fd168863ae8a4d7ca045fb938 (patch) | |
tree | 61227cc71fea23b8f75852cd92452e4f2fd47179 /db | |
parent | 358426d66164d720d793ea37bacb4fc331c30171 (diff) | |
download | gitlab-ce-65cad57a35002a9fd168863ae8a4d7ca045fb938.tar.gz |
avatar upload on profile page
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20131005191208_add_avatar_to_users.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20131005191208_add_avatar_to_users.rb b/db/migrate/20131005191208_add_avatar_to_users.rb new file mode 100644 index 00000000000..7b4de37ad72 --- /dev/null +++ b/db/migrate/20131005191208_add_avatar_to_users.rb @@ -0,0 +1,5 @@ +class AddAvatarToUsers < ActiveRecord::Migration + def change + add_column :users, :avatar, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 713d9f733d6..b3bc31c76dd 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20130926081215) do +ActiveRecord::Schema.define(:version => 20131005191208) do create_table "deploy_keys_projects", :force => true do |t| t.integer "deploy_key_id", :null => false @@ -283,6 +283,7 @@ ActiveRecord::Schema.define(:version => 20130926081215) do t.integer "notification_level", :default => 1, :null => false t.datetime "password_expires_at" t.integer "created_by_id" + t.string "avatar" end add_index "users", ["admin"], :name => "index_users_on_admin" |