summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 13:47:05 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 13:47:05 +0200
commit5cf56e56470e695b10db02dff70d0f0b50060518 (patch)
treed46ecd17857f8e49abda15c03576c099e2bf39df /db
parente3558ed67e7e829fe5148c3fb2fe80ed045fe1b4 (diff)
downloadgitlab-ce-5cf56e56470e695b10db02dff70d0f0b50060518.tar.gz
Rename almost all the things
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160315135439_project_add_repo_check.rb6
-rw-r--r--db/migrate/20160315135439_project_add_repository_check.rb6
-rw-r--r--db/schema.rb4
3 files changed, 8 insertions, 8 deletions
diff --git a/db/migrate/20160315135439_project_add_repo_check.rb b/db/migrate/20160315135439_project_add_repo_check.rb
deleted file mode 100644
index ba7ddc9ecb4..00000000000
--- a/db/migrate/20160315135439_project_add_repo_check.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-class ProjectAddRepoCheck < ActiveRecord::Migration
- def change
- add_column :projects, :last_repo_check_failed, :boolean, default: false
- add_column :projects, :last_repo_check_at, :datetime
- end
-end
diff --git a/db/migrate/20160315135439_project_add_repository_check.rb b/db/migrate/20160315135439_project_add_repository_check.rb
new file mode 100644
index 00000000000..5a0859a30b2
--- /dev/null
+++ b/db/migrate/20160315135439_project_add_repository_check.rb
@@ -0,0 +1,6 @@
+class ProjectAddRepositoryCheck < ActiveRecord::Migration
+ def change
+ add_column :projects, :last_repository_check_failed, :boolean, default: false
+ add_column :projects, :last_repository_check_at, :datetime
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index d2c183f968b..53509956888 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -732,8 +732,8 @@ ActiveRecord::Schema.define(version: 20160331133914) do
t.boolean "public_builds", default: true, null: false
t.string "main_language"
t.integer "pushes_since_gc", default: 0
- t.boolean "last_repo_check_failed", default: false
- t.datetime "last_repo_check_at"
+ t.boolean "last_repository_check_failed", default: false
+ t.datetime "last_repository_check_at"
end
add_index "projects", ["builds_enabled", "shared_runners_enabled"], name: "index_projects_on_builds_enabled_and_shared_runners_enabled", using: :btree