blob: 8ce447a67d17cd9d96b6c619d42540b3a7657c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class CreateAlertsServiceData < ActiveRecord::Migration[5.2]
DOWNTIME = false
def change
create_table :alerts_service_data do |t|
t.references :service, type: :integer, index: true, null: false,
foreign_key: { on_delete: :cascade }
t.timestamps_with_timezone
t.string :encrypted_token, limit: 255
t.string :encrypted_token_iv, limit: 255
end
end
end
|