gitlab-org--gitlab-foss/db/migrate/20180424134533_create_application_setting_terms.rb
Bob Van Landuyt cf37bef287 Add Term model to keep track of terms
That way we can link a users acceptance of terms directly to a terms record.
2018-05-04 13:52:55 +02:00

13 lines
309 B
Ruby

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