discourse/db/migrate/20141120035016_add_allowed_ips_to_api_keys.rb

8 lines
164 B
Ruby

class AddAllowedIpsToApiKeys < ActiveRecord::Migration[4.2]
def change
change_table :api_keys do |t|
t.inet :allowed_ips, array: true
end
end
end