debian-mirror-gitlab/db/migrate/20230406060452_create_instance_external_audit_event_destinations.rb
2023-06-20 00:43:36 +05:30

15 lines
522 B
Ruby

# frozen_string_literal: true
class CreateInstanceExternalAuditEventDestinations < Gitlab::Database::Migration[2.1]
enable_lock_retries!
def change
create_table :audit_events_instance_external_audit_event_destinations do |t|
t.timestamps_with_timezone null: false
t.text :destination_url, null: false, limit: 255 # rubocop:disable Migration/AddLimitToTextColumns
t.binary :encrypted_verification_token, null: false
t.binary :encrypted_verification_token_iv, null: false
end
end
end