mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 00:58:45 +05:00
only one version structure in the db
This commit is contained in:
@@ -68,8 +68,6 @@ type RatingStorage interface {
|
||||
GetAllActionPlans() (map[string]*ActionPlan, error)
|
||||
PushTask(*Task) error
|
||||
PopTask() (*Task, error)
|
||||
GetRatingStructuresVersion() (*RatingStructuresVersion, error)
|
||||
SetRatingStructuresVersion(*RatingStructuresVersion) error
|
||||
}
|
||||
|
||||
type AccountingStorage interface {
|
||||
@@ -94,8 +92,8 @@ type AccountingStorage interface {
|
||||
RemoveAlias(string) error
|
||||
GetLoadHistory(int, bool) ([]*LoadInstance, error)
|
||||
AddLoadHistory(*LoadInstance, int) error
|
||||
GetAccountingStructuresVersion() (*AccountingStructuresVersion, error)
|
||||
SetAccountingStructuresVersion(*AccountingStructuresVersion) error
|
||||
GetStructVersion() (*StructVersion, error)
|
||||
SetStructVersion(*StructVersion) error
|
||||
}
|
||||
|
||||
type CdrStorage interface {
|
||||
@@ -104,8 +102,6 @@ type CdrStorage interface {
|
||||
SetSMCost(smc *SMCost) error
|
||||
GetSMCosts(cgrid, runid, originHost, originIDPrfx string) ([]*SMCost, error)
|
||||
GetCDRs(*utils.CDRsFilter, bool) ([]*CDR, int64, error)
|
||||
GetCdrStructuresVersion() (*CdrStructuresVersion, error)
|
||||
SetCdrStructuresVersion(*CdrStructuresVersion) error
|
||||
}
|
||||
|
||||
type LogStorage interface {
|
||||
|
||||
Reference in New Issue
Block a user