Help landing page customizations - db changes
This commit is contained in:
parent
0037cf634d
commit
5bea82de7f
|
@ -0,0 +1,9 @@
|
|||
class AddHelpPageHideCommercialContentToApplicationSettings < ActiveRecord::Migration
|
||||
include Gitlab::Database::MigrationHelpers
|
||||
|
||||
DOWNTIME = false
|
||||
|
||||
def change
|
||||
add_column :application_settings, :help_page_hide_commercial_content, :boolean, default: false
|
||||
end
|
||||
end
|
|
@ -0,0 +1,9 @@
|
|||
class AddHelpPageSupportUrlToApplicationSettings < ActiveRecord::Migration
|
||||
include Gitlab::Database::MigrationHelpers
|
||||
|
||||
DOWNTIME = false
|
||||
|
||||
def change
|
||||
add_column :application_settings, :help_page_support_url, :string
|
||||
end
|
||||
end
|
|
@ -12,6 +12,7 @@
|
|||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170606202615) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
enable_extension "pg_trgm"
|
||||
|
@ -123,6 +124,8 @@ ActiveRecord::Schema.define(version: 20170606202615) do
|
|||
t.boolean "clientside_sentry_enabled", default: false, null: false
|
||||
t.string "clientside_sentry_dsn"
|
||||
t.boolean "prometheus_metrics_enabled", default: false, null: false
|
||||
t.boolean "help_page_hide_commercial_content", default: false
|
||||
t.string "help_page_support_url"
|
||||
end
|
||||
|
||||
create_table "audit_events", force: :cascade do |t|
|
||||
|
|
Loading…
Reference in New Issue