Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-21 02:52:23 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-21 02:52:23 +0300
commit6ef20926ee4cd7cefc6aaff9346a964a34f64a89 (patch)
tree4793bddfac03fb082d0741e3a2f3f2c9fd13092c /db/migrate/20150320234437_add_location_to_user.rb
parent476199e0691edd956764ace45264511048fe6eb1 (diff)
Add location to user profile
Diffstat (limited to 'db/migrate/20150320234437_add_location_to_user.rb')
-rw-r--r--db/migrate/20150320234437_add_location_to_user.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150320234437_add_location_to_user.rb b/db/migrate/20150320234437_add_location_to_user.rb
new file mode 100644
index 00000000000..32731d37d75
--- /dev/null
+++ b/db/migrate/20150320234437_add_location_to_user.rb
@@ -0,0 +1,5 @@
+class AddLocationToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :location, :string
+ end
+end