病猪变化日志
This commit is contained in:
@@ -168,6 +168,7 @@ func (ps *PostgresStorage) creatingHyperTable() error {
|
||||
{models.WeighingBatch{}, "weighing_time"},
|
||||
{models.WeighingRecord{}, "weighing_time"},
|
||||
{models.PigTransferLog{}, "transfer_time"},
|
||||
{models.PigBatchSickPigLog{}, "happened_at"},
|
||||
}
|
||||
|
||||
for _, table := range tablesToConvert {
|
||||
@@ -205,6 +206,7 @@ func (ps *PostgresStorage) applyCompressionPolicies() error {
|
||||
{models.WeighingBatch{}, "pig_batch_id"},
|
||||
{models.WeighingRecord{}, "weighing_batch_id"},
|
||||
{models.PigTransferLog{}, "pig_batch_id"},
|
||||
{models.PigBatchSickPigLog{}, "pig_batch_id"},
|
||||
}
|
||||
|
||||
for _, policy := range policies {
|
||||
|
||||
Reference in New Issue
Block a user