mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
add allowed_ips to api_keys
update annotations
This commit is contained in:
7
db/migrate/20141120035016_add_allowed_ips_to_api_keys.rb
Normal file
7
db/migrate/20141120035016_add_allowed_ips_to_api_keys.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class AddAllowedIpsToApiKeys < ActiveRecord::Migration
|
||||
def change
|
||||
change_table :api_keys do |t|
|
||||
t.inet :allowed_ips, array: true
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user