Skip to content
Browse files

Better name for project field

  • Loading branch information...
1 parent ec47bb6 commit adb5d0ee198a3f4047e07cd5e5d7d9b45944865c @randx randx committed
Showing with 15 additions and 10 deletions.
  1. +5 −0 db/migrate/20140130121538_rename_project_fields.rb
  2. +10 −10 db/schema.rb
View
5 db/migrate/20140130121538_rename_project_fields.rb
@@ -0,0 +1,5 @@
+class RenameProjectFields < ActiveRecord::Migration
+ def change
+ rename_column :projects, :email_all_broken_builds, :email_only_broken_builds
+ end
+end
View
20 db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20131120155545) do
+ActiveRecord::Schema.define(version: 20140130121538) do
create_table "builds", force: true do |t|
t.integer "project_id"
@@ -33,23 +33,23 @@
add_index "builds", ["runner_id"], name: "index_builds_on_runner_id", using: :btree
create_table "projects", force: true do |t|
- t.string "name", null: false
- t.integer "timeout", default: 1800, null: false
- t.text "scripts", null: false
+ t.string "name", null: false
+ t.integer "timeout", default: 1800, null: false
+ t.text "scripts", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "token"
t.string "default_ref"
t.string "gitlab_url"
- t.boolean "always_build", default: false, null: false
+ t.boolean "always_build", default: false, null: false
t.integer "polling_interval"
- t.boolean "public", default: false, null: false
+ t.boolean "public", default: false, null: false
t.string "ssh_url_to_repo"
t.integer "gitlab_id"
- t.boolean "allow_git_fetch", default: true, null: false
- t.string "email_recipients", default: "", null: false
- t.boolean "email_add_committer", default: true, null: false
- t.boolean "email_all_broken_builds", default: true, null: false
+ t.boolean "allow_git_fetch", default: true, null: false
+ t.string "email_recipients", default: "", null: false
+ t.boolean "email_add_committer", default: true, null: false
+ t.boolean "email_only_broken_builds", default: true, null: false
end
create_table "runner_projects", force: true do |t|

0 comments on commit adb5d0e

Please sign in to comment.
Something went wrong with that request. Please try again.