summaryrefslogtreecommitdiff
path: root/db/migrate/20180424134533_create_application_setting_terms.rb
blob: f29335cfc519c5f457375c0ed2823ae0b01a88e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateApplicationSettingTerms < ActiveRecord::Migration
  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