mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
6 lines
282 B
Ruby
6 lines
282 B
Ruby
class NameserversIPsAreArrays < ActiveRecord::Migration[6.0]
|
|
def change
|
|
change_column :nameservers, :ipv6, "varchar[] USING (string_to_array(ipv6, ','))", default: []
|
|
change_column :nameservers, :ipv4, "varchar[] USING (string_to_array(ipv4, ','))", default: []
|
|
end
|
|
end
|