2019-05-03 08:17:27 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-31 12:06:56 +08:00
|
|
|
class AddAllowedIpsToApiKeys < ActiveRecord::Migration[4.2]
|
2014-11-20 14:53:15 +11:00
|
|
|
def change
|
|
|
|
change_table :api_keys do |t|
|
|
|
|
t.inet :allowed_ips, array: true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|