mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Story#108521790 - first try to import nameservers
This commit is contained in:
parent
5f0421af38
commit
f6d16f51e9
6 changed files with 119 additions and 3 deletions
|
@ -98,5 +98,9 @@ class Nameserver < ActiveRecord::Base
|
|||
# ignoring ips
|
||||
rel
|
||||
end
|
||||
|
||||
def next_id
|
||||
self.connection.select_value("SELECT nextval('#{self.sequence_name}')")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue