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:
authorJerome Dalbert <jerome@rentify.com>2014-01-18 23:07:00 +0400
committerJerome Dalbert <jerome@rentify.com>2014-01-18 23:15:10 +0400
commit2e3f250d4516c92adce5511747419d7f1fe04b97 (patch)
treebdf7a0dc744a55a3b96a10131baebd996e5b9d79 /db/migrate/20140116231608_add_website_url_to_users.rb
parentdba982403b7b894d2096ea61b89a247060eefe57 (diff)
Add website url to user
Diffstat (limited to 'db/migrate/20140116231608_add_website_url_to_users.rb')
-rw-r--r--db/migrate/20140116231608_add_website_url_to_users.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20140116231608_add_website_url_to_users.rb b/db/migrate/20140116231608_add_website_url_to_users.rb
new file mode 100644
index 00000000000..0996fdcad73
--- /dev/null
+++ b/db/migrate/20140116231608_add_website_url_to_users.rb
@@ -0,0 +1,5 @@
+class AddWebsiteUrlToUsers < ActiveRecord::Migration
+ def change
+ add_column :users, :website_url, :string, {:null => false, :default => ''}
+ end
+end