mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
parent
9702864f62
commit
f96bf3100a
3 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
module Billing
|
||||
class Price < ActiveRecord::Base
|
||||
include Versions
|
||||
has_paper_trail class_name: '::PriceVersion'
|
||||
|
||||
self.auto_html5_validation = false
|
||||
|
||||
belongs_to :zone, class_name: 'DNS::Zone', required: true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class PricelistVersion < PaperTrail::Version
|
||||
class PriceVersion < PaperTrail::Version
|
||||
self.table_name = :log_pricelists
|
||||
self.sequence_name = :log_pricelists_id_seq
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue