summaryrefslogtreecommitdiff
path: root/db/migrate/20180424134533_create_application_setting_terms.rb
blob: 41edb8a955910c3e4e77daeececa67453d9d5757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateApplicationSettingTerms < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  # rubocop:disable Migration/AddLimitToTextColumns
  def change
    create_table :application_setting_terms do |t|
      t.integer :cached_markdown_version
      t.text :terms, null: false
      t.text :terms_html
    end
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end