diff options
author | Nick Thomas <nick@gitlab.com> | 2019-02-27 12:07:05 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-02-27 12:07:05 +0000 |
commit | a5174cf0fcfd0ae77d25ac5208b7aa371d7d7b73 (patch) | |
tree | 6610d4dbd0b47f666586e7f5e0e87a285a3426c5 /db/schema.rb | |
parent | 61c1509cc992959ac5021d10825d5dbf9dd2c091 (diff) | |
parent | 5ae9a44aa17c8929627cc450f936cd960c143e25 (diff) | |
download | gitlab-ce-a5174cf0fcfd0ae77d25ac5208b7aa371d7d7b73.tar.gz |
Merge branch '42086-project-fetch-statistics-api-http-only' into 'master'57125-heatmap-chart-type
Resolve "Project fetch statistics API (HTTP only)"
Closes #42086
See merge request gitlab-org/gitlab-ce!23596
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index d835e48938d..0e850f412ed 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1586,6 +1586,13 @@ ActiveRecord::Schema.define(version: 20190220150130) do t.index ["project_id", "key"], name: "index_project_custom_attributes_on_project_id_and_key", unique: true, using: :btree end + create_table "project_daily_statistics", id: :bigserial, force: :cascade do |t| + t.integer "project_id", null: false + t.integer "fetch_count", null: false + t.date "date" + t.index ["project_id", "date"], name: "index_project_daily_statistics_on_project_id_and_date", unique: true, order: { date: :desc }, using: :btree + end + create_table "project_deploy_tokens", force: :cascade do |t| t.integer "project_id", null: false t.integer "deploy_token_id", null: false @@ -2469,6 +2476,7 @@ ActiveRecord::Schema.define(version: 20190220150130) do add_foreign_key "project_auto_devops", "projects", on_delete: :cascade add_foreign_key "project_ci_cd_settings", "projects", name: "fk_24c15d2f2e", on_delete: :cascade add_foreign_key "project_custom_attributes", "projects", on_delete: :cascade + add_foreign_key "project_daily_statistics", "projects", on_delete: :cascade add_foreign_key "project_deploy_tokens", "deploy_tokens", on_delete: :cascade add_foreign_key "project_deploy_tokens", "projects", on_delete: :cascade add_foreign_key "project_error_tracking_settings", "projects", on_delete: :cascade |