Extend uploaderip field to cope with IPv6 addresses

This commit is contained in:
Christoph Haas 2021-02-22 11:25:13 +01:00
parent df855cd39b
commit 16b14b1650
2 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,5 @@
class ExtendIpField < ActiveRecord::Migration[6.1]
def change
change_column :screenshots, :uploaderip, :string, limit: 40
end
end