debian-mirror-gitlab/db/migrate/20180424134533_create_application_setting_terms.rb

16 lines
417 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class CreateApplicationSettingTerms < ActiveRecord::Migration[4.2]
2018-10-15 14:42:47 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
2020-05-24 23:13:21 +05:30
# rubocop:disable Migration/AddLimitToTextColumns
2018-10-15 14:42:47 +05:30
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
2020-05-24 23:13:21 +05:30
# rubocop:enable Migration/AddLimitToTextColumns
2018-10-15 14:42:47 +05:30
end