summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2019-07-26 14:51:18 +0200
committerAndreas Brandl <abrandl@gitlab.com>2019-07-26 16:22:52 +0200
commit4f01cd96e063ab648960ea2cbe2fdfff59ed390a (patch)
tree18d8664f4fe899c268e30acf05218a44f4faa449 /db/schema.rb
parent6d830eaea38ba3b917ecad40e630afe2c0ec36c5 (diff)
downloadgitlab-ce-ab-batch-counts-for-admin-ui.tar.gz
Basic implementation for batched countingab-batch-counts-for-admin-ui
TODO: * Move services to workers * Display count in admin UI * Cronjob setup * Put behind FF
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 67479937b47..e2e75db02ee 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2019_07_25_012225) do
+ActiveRecord::Schema.define(version: 2019_07_26_114448) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_trgm"
@@ -355,6 +355,13 @@ ActiveRecord::Schema.define(version: 2019_07_25_012225) do
t.index ["user_id", "name"], name: "index_award_emoji_on_user_id_and_name"
end
+ create_table "background_counters", force: :cascade do |t|
+ t.string "identifier", limit: 100, null: false
+ t.datetime_with_timezone "updated_at", null: false
+ t.bigint "counter_value", default: 0, null: false
+ t.index ["identifier"], name: "index_background_counters_on_identifier", unique: true
+ end
+
create_table "badges", id: :serial, force: :cascade do |t|
t.string "link_url", null: false
t.string "image_url", null: false