Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20180424134533_create_application_setting_terms.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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