mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Restructure white ip interfaces #2713
This commit is contained in:
parent
cc32312328
commit
c6073c7e87
9 changed files with 32 additions and 23 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddMultipleInterfacesForWhiteIp < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :white_ips, :interface, "varchar[] USING (string_to_array(interface, ','))"
|
||||
rename_column :white_ips, :interface, :interfaces
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue