mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Story#108602614 - Import contact history
This commit is contained in:
parent
91da4db2ce
commit
af055aaac5
6 changed files with 242 additions and 65 deletions
|
@ -219,6 +219,10 @@ class Contact < ActiveRecord::Base
|
|||
kit.to_pdf
|
||||
end
|
||||
|
||||
|
||||
def next_id
|
||||
self.connection.select_value("SELECT nextval('#{self.sequence_name}')")
|
||||
end
|
||||
end
|
||||
|
||||
def roid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue