433bcf9b04
Cached markdown version is composed both from global and local markdown version. This allows admins to bump version locally when needed (e.g. when external URL is changed).
11 lines
284 B
Ruby
11 lines
284 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddLocalCachedMarkdownVersion < ActiveRecord::Migration[5.0]
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
|
|
|
def change
|
|
add_column :application_settings, :local_markdown_version, :integer, default: 0, null: false
|
|
end
|
|
end
|