mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
6 lines
277 B
Ruby
6 lines
277 B
Ruby
class NameserversIPsAreArrays < ActiveRecord::Migration
|
|
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
|