mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
114677695-converter_and_migration
This commit is contained in:
parent
576fa914b4
commit
d04f558af5
3 changed files with 61 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
class AddPunyHostnameToNameserver < ActiveRecord::Migration
|
||||
|
||||
def change
|
||||
|
||||
add_column :nameservers, :hostname_puny, :string
|
||||
execute "UPDATE nameservers n SET hostname_puny = n.hostname"
|
||||
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue