Extend uploaderip field to cope with IPv6 addresses
This commit is contained in:
parent
df855cd39b
commit
16b14b1650
2 changed files with 9 additions and 4 deletions
5
db/migrate/20210222102040_extend_ip_field.rb
Normal file
5
db/migrate/20210222102040_extend_ip_field.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class ExtendIpField < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
change_column :screenshots, :uploaderip, :string, limit: 40
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue