mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
9 lines
205 B
Ruby
9 lines
205 B
Ruby
class AddPunyHostnameToNameserver < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
add_column :nameservers, :hostname_puny, :string
|
|
execute "UPDATE nameservers n SET hostname_puny = n.hostname"
|
|
|
|
end
|
|
end
|