summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-10 18:08:59 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-11 18:02:09 +0100
commit91cdb08d5fa83a86f5f18088bf148e832732bed9 (patch)
tree9a3dd429b6db8be47c5aec7690ee03a93136d7fe /db
parent3d9ce37a48615032c786913acdde1eedba351361 (diff)
downloadgitlab-ce-91cdb08d5fa83a86f5f18088bf148e832732bed9.tar.gz
Rename columns and rename migrations
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20151210125928_add_ci_to_project.rb (renamed from db/migrate/20151203162135_add_ci_to_project.rb)0
-rw-r--r--db/migrate/20151210125929_add_project_id_to_ci.rb (renamed from db/migrate/20151204110124_add_project_id_to_ci.rb)0
-rw-r--r--db/migrate/20151210125930_migrate_ci_to_project.rb (renamed from db/migrate/20151204110613_migrate_ci_to_project.rb)0
-rw-r--r--db/migrate/20151210125931_add_index_to_ci_tables.rb (renamed from db/migrate/20151204110832_add_index_to_ci_tables.rb)0
-rw-r--r--db/migrate/20151210125932_drop_null_for_ci_tables.rb (renamed from db/migrate/20151204123933_drop_null_for_ci_tables.rb)0
-rw-r--r--db/schema.rb8
6 files changed, 5 insertions, 3 deletions
diff --git a/db/migrate/20151203162135_add_ci_to_project.rb b/db/migrate/20151210125928_add_ci_to_project.rb
index 8a65abab636..8a65abab636 100644
--- a/db/migrate/20151203162135_add_ci_to_project.rb
+++ b/db/migrate/20151210125928_add_ci_to_project.rb
diff --git a/db/migrate/20151204110124_add_project_id_to_ci.rb b/db/migrate/20151210125929_add_project_id_to_ci.rb
index 5d1cf543576..5d1cf543576 100644
--- a/db/migrate/20151204110124_add_project_id_to_ci.rb
+++ b/db/migrate/20151210125929_add_project_id_to_ci.rb
diff --git a/db/migrate/20151204110613_migrate_ci_to_project.rb b/db/migrate/20151210125930_migrate_ci_to_project.rb
index d17b2a425f8..d17b2a425f8 100644
--- a/db/migrate/20151204110613_migrate_ci_to_project.rb
+++ b/db/migrate/20151210125930_migrate_ci_to_project.rb
diff --git a/db/migrate/20151204110832_add_index_to_ci_tables.rb b/db/migrate/20151210125931_add_index_to_ci_tables.rb
index 9fedb5d612c..9fedb5d612c 100644
--- a/db/migrate/20151204110832_add_index_to_ci_tables.rb
+++ b/db/migrate/20151210125931_add_index_to_ci_tables.rb
diff --git a/db/migrate/20151204123933_drop_null_for_ci_tables.rb b/db/migrate/20151210125932_drop_null_for_ci_tables.rb
index 0b007430b0c..0b007430b0c 100644
--- a/db/migrate/20151204123933_drop_null_for_ci_tables.rb
+++ b/db/migrate/20151210125932_drop_null_for_ci_tables.rb
diff --git a/db/schema.rb b/db/schema.rb
index fd9004faa29..d17930b84b0 100644
--- a/db/schema.rb
+++ b/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: 20151204123933) do
+ActiveRecord::Schema.define(version: 20151210125932) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -655,9 +655,10 @@ ActiveRecord::Schema.define(version: 20151204123933) do
t.string "import_source"
t.integer "commit_count", default: 0
t.text "import_error"
+ t.integer "ci_id"
t.boolean "builds_enabled", default: true, null: false
t.boolean "shared_runners_enabled", default: true, null: false
- t.string "token"
+ t.string "runners_token"
t.string "build_coverage_regex"
t.boolean "build_allow_git_fetch", default: true, null: false
t.integer "build_timeout", default: 3600, null: false
@@ -665,13 +666,14 @@ ActiveRecord::Schema.define(version: 20151204123933) do
add_index "projects", ["builds_enabled", "shared_runners_enabled"], name: "index_projects_on_builds_enabled_and_shared_runners_enabled", using: :btree
add_index "projects", ["builds_enabled"], name: "index_projects_on_builds_enabled", using: :btree
+ add_index "projects", ["ci_id"], name: "index_projects_on_ci_id", using: :btree
add_index "projects", ["created_at", "id"], name: "index_projects_on_created_at_and_id", using: :btree
add_index "projects", ["creator_id"], name: "index_projects_on_creator_id", using: :btree
add_index "projects", ["last_activity_at"], name: "index_projects_on_last_activity_at", using: :btree
add_index "projects", ["namespace_id"], name: "index_projects_on_namespace_id", using: :btree
add_index "projects", ["path"], name: "index_projects_on_path", using: :btree
+ add_index "projects", ["runners_token"], name: "index_projects_on_runners_token", using: :btree
add_index "projects", ["star_count"], name: "index_projects_on_star_count", using: :btree
- add_index "projects", ["token"], name: "index_projects_on_token", using: :btree
add_index "projects", ["visibility_level"], name: "index_projects_on_visibility_level", using: :btree
create_table "protected_branches", force: :cascade do |t|