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
path: root/db
diff options
context:
space:
mode:
authorAleksei Kvitinskii <aleksei.kvitinskii@active.by>2011-10-20 02:34:05 +0400
committerAleksei Kvitinskii <aleksei.kvitinskii@active.by>2011-10-20 02:34:05 +0400
commit59704f481e742710fff32c733047eb84478e505e (patch)
treed837909ea9b6e1387c71de5ef2c2ae568323f28c /db
parent9ad444f02efbeb30365cdf7f23f9b2f846b45a03 (diff)
extended user profile with social fields
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111019212429_add_social_to_user.rb7
-rw-r--r--db/schema.rb5
2 files changed, 11 insertions, 1 deletions
diff --git a/db/migrate/20111019212429_add_social_to_user.rb b/db/migrate/20111019212429_add_social_to_user.rb
new file mode 100644
index 00000000000..b0ffe5366a4
--- /dev/null
+++ b/db/migrate/20111019212429_add_social_to_user.rb
@@ -0,0 +1,7 @@
+class AddSocialToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :skype, :string
+ add_column :users, :linkedin, :string
+ add_column :users, :twitter, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index a819697640a..6408792f9ac 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 => 20111016195506) do
+ActiveRecord::Schema.define(:version => 20111019212429) do
create_table "issues", :force => true do |t|
t.string "title"
@@ -82,6 +82,9 @@ ActiveRecord::Schema.define(:version => 20111016195506) do
t.string "name"
t.boolean "admin", :default => false, :null => false
t.integer "projects_limit", :default => 10
+ t.string "skype"
+ t.string "linkedin"
+ t.string "twitter"
end
add_index "users", ["email"], :name => "index_users_on_email", :unique => true