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>2011-12-21 00:47:09 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-21 00:47:09 +0400
commit9a2a8612769d472503b367fa35e99f6fb2876704 (patch)
tree26cdb4e66b5e664fe4bcd57d011c54c9c9c26ded /db
parent2f7b67161952fc9ab322eba6878511b5f2dd5cf1 (diff)
Design tab for profile. Colorscheme as db valuev2.0.0
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111220190817_add_coloscheme_option_to_user.rb5
-rw-r--r--db/schema.rb15
2 files changed, 19 insertions, 1 deletions
diff --git a/db/migrate/20111220190817_add_coloscheme_option_to_user.rb b/db/migrate/20111220190817_add_coloscheme_option_to_user.rb
new file mode 100644
index 00000000000..fe06c3aa34a
--- /dev/null
+++ b/db/migrate/20111220190817_add_coloscheme_option_to_user.rb
@@ -0,0 +1,5 @@
+class AddColoschemeOptionToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :dark_scheme, :boolean, :default => false, :null => false
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 613b65cb2ad..18a3486ee55 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,19 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20111207211728) do
+ActiveRecord::Schema.define(:version => 20111220190817) do
+
+ create_table "features", :force => true do |t|
+ t.string "name"
+ t.string "branch_name"
+ t.integer "assignee_id"
+ t.integer "author_id"
+ t.integer "project_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.string "version"
+ t.integer "status", :default => 0, :null => false
+ end
create_table "issues", :force => true do |t|
t.string "title"
@@ -118,6 +130,7 @@ ActiveRecord::Schema.define(:version => 20111207211728) do
t.string "linkedin", :default => "", :null => false
t.string "twitter", :default => "", :null => false
t.string "authentication_token"
+ t.boolean "dark_scheme", :default => false, :null => false
end
add_index "users", ["email"], :name => "index_users_on_email", :unique => true