blob: 88013fddc810075126606369bce33f6993603706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddTimestampsToComplianceFrameworks < Gitlab::Database::Migration[2.0]
def up
add_column :compliance_management_frameworks, :created_at, :datetime_with_timezone, null: true
add_column :compliance_management_frameworks, :updated_at, :datetime_with_timezone, null: true
end
def down
remove_column :compliance_management_frameworks, :created_at
remove_column :compliance_management_frameworks, :updated_at
end
end
|