Design tab for profile. Colorscheme as db value
This commit is contained in:
parent
2f7b671619
commit
9a2a861276
15 changed files with 100 additions and 66 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddColoschemeOptionToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :dark_scheme, :boolean, :default => false, :null => false
|
||||
end
|
||||
end
|
15
db/schema.rb
15
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue