Commit ad185e62 authored by Pawel Chojnacki's avatar Pawel Chojnacki

add missing schema entry and application settigns helper

parent 0051b5fb
......@@ -211,6 +211,7 @@ module ApplicationSettingsHelper
:polling_interval_multiplier,
:project_export_enabled,
:prometheus_metrics_enabled,
:prometheus_metrics_method_instrumentation_enabled,
:recaptcha_enabled,
:recaptcha_private_key,
:recaptcha_site_key,
......
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20171121144800) do
ActiveRecord::Schema.define(version: 20171122211913) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......@@ -149,6 +149,7 @@ ActiveRecord::Schema.define(version: 20171121144800) do
t.boolean "throttle_authenticated_web_enabled", default: false, null: false
t.integer "throttle_authenticated_web_requests_per_period", default: 7200, null: false
t.integer "throttle_authenticated_web_period_in_seconds", default: 3600, null: false
t.boolean "prometheus_metrics_method_instrumentation_enabled", default: false, null: false
end
create_table "audit_events", force: :cascade do |t|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment