diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-01 23:23:50 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-01 23:23:50 +0400 |
commit | 00028702fc516f799296d10a1d0da960e93a0381 (patch) | |
tree | 21c56e5f03a579bca3345825949b9a1a5cdc27ae /db | |
parent | ed75afbb1014920f811a33524ba73cf1a7d78dc9 (diff) |
design tab improved. Themes added
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20120301185805_add_theme_to_user.rb | 6 | ||||
-rw-r--r-- | db/schema.rb | 22 |
2 files changed, 20 insertions, 8 deletions
diff --git a/db/migrate/20120301185805_add_theme_to_user.rb b/db/migrate/20120301185805_add_theme_to_user.rb new file mode 100644 index 00000000000..7c2e55692b0 --- /dev/null +++ b/db/migrate/20120301185805_add_theme_to_user.rb @@ -0,0 +1,6 @@ +class AddThemeToUser < ActiveRecord::Migration + def change + add_column :users, :theme_id, :integer, :null => false, :default => 1 + + end +end diff --git a/db/schema.rb b/db/schema.rb index c5e14a69542..1bb5f709dcc 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 => 20120228134252) do +ActiveRecord::Schema.define(:version => 20120301185805) do create_table "events", :force => true do |t| t.string "target_type" @@ -24,6 +24,18 @@ ActiveRecord::Schema.define(:version => 20120228134252) do t.integer "action" end + 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" t.integer "assignee_id" @@ -150,6 +162,7 @@ ActiveRecord::Schema.define(:version => 20120228134252) do t.string "twitter", :default => "", :null => false t.string "authentication_token" t.boolean "dark_scheme", :default => false, :null => false + t.integer "theme_id", :default => 1, :null => false end add_index "users", ["email"], :name => "index_users_on_email", :unique => true @@ -163,13 +176,6 @@ ActiveRecord::Schema.define(:version => 20120228134252) do t.integer "project_access", :default => 0, :null => false end - create_table "web_hook_urls", :force => true do |t| - t.string "url" - t.integer "project_id" - t.datetime "created_at" - t.datetime "updated_at" - end - create_table "web_hooks", :force => true do |t| t.string "url" t.integer "project_id" |