summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-01-28 08:48:46 -0500
committerJosh Frye <joshfng@gmail.com>2016-01-29 09:23:24 -0500
commitf255313ea47b433b428b3b90452aede8c9a6618c (patch)
tree411493ed9b7addb40d8682eaabb105a88873de35 /db
parent91b9cbff8de538c2966bca94c517ee6aa346f79b (diff)
downloadgitlab-ce-f255313ea47b433b428b3b90452aede8c9a6618c.tar.gz
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160122185421_add_pending_delete_to_project.rb2
-rw-r--r--db/schema.rb8
2 files changed, 5 insertions, 5 deletions
diff --git a/db/migrate/20160122185421_add_pending_delete_to_project.rb b/db/migrate/20160122185421_add_pending_delete_to_project.rb
index 457922942b0..046a5d8fc32 100644
--- a/db/migrate/20160122185421_add_pending_delete_to_project.rb
+++ b/db/migrate/20160122185421_add_pending_delete_to_project.rb
@@ -1,5 +1,5 @@
class AddPendingDeleteToProject < ActiveRecord::Migration
def change
- add_column :projects, :pending_delete, :boolean
+ add_column :projects, :pending_delete, :boolean, default: false
end
end
diff --git a/db/schema.rb b/db/schema.rb
index 8c9cbe73c87..73589cb1f17 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -677,7 +677,7 @@ ActiveRecord::Schema.define(version: 20160128212447) do
t.string "build_coverage_regex"
t.boolean "build_allow_git_fetch", default: true, null: false
t.integer "build_timeout", default: 3600, null: false
- t.boolean "pending_delete"
+ t.boolean "pending_delete", default: false
end
add_index "projects", ["builds_enabled", "shared_runners_enabled"], name: "index_projects_on_builds_enabled_and_shared_runners_enabled", using: :btree
@@ -729,9 +729,9 @@ ActiveRecord::Schema.define(version: 20160128212447) do
t.string "type"
t.string "title"
t.integer "project_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.boolean "active", default: false, null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.boolean "active", null: false
t.text "properties"
t.boolean "template", default: false
t.boolean "push_events", default: true