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

  DOWNTIME = false

  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
end