debian-mirror-gitlab/db/migrate/20200107172020_add_timestamp_softwarelicensespolicy.rb
2020-03-13 15:44:24 +05:30

15 lines
329 B
Ruby

# frozen_string_literal: true
class AddTimestampSoftwarelicensespolicy < ActiveRecord::Migration[5.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
add_timestamps_with_timezone(:software_license_policies, null: true)
end
def down
remove_timestamps(:software_license_policies)
end
end