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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-24 03:01:36 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-24 03:01:36 +0400
commit1c6df8e075abf87c6911be7ca9a691d48b7d4009 (patch)
tree76f715dabcb25e601f686b93af7dea81fec6dc8b /db
parentfea64946662a6043ec96c53bf2982d4f51ca4879 (diff)
Improved profile & team member show
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20120323221339_add_bio_field_to_user.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20120323221339_add_bio_field_to_user.rb b/db/migrate/20120323221339_add_bio_field_to_user.rb
new file mode 100644
index 00000000000..80a4dec5971
--- /dev/null
+++ b/db/migrate/20120323221339_add_bio_field_to_user.rb
@@ -0,0 +1,5 @@
+class AddBioFieldToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :bio, :string, :null => true
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index e224aa2c100..c76fd9b5d98 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 => 20120315132931) do
+ActiveRecord::Schema.define(:version => 20120323221339) do
create_table "events", :force => true do |t|
t.string "target_type"
@@ -155,6 +155,7 @@ ActiveRecord::Schema.define(:version => 20120315132931) do
t.string "authentication_token"
t.boolean "dark_scheme", :default => false, :null => false
t.integer "theme_id", :default => 1, :null => false
+ t.string "bio"
end
add_index "users", ["email"], :name => "index_users_on_email", :unique => true