记录调猪人
This commit is contained in:
@@ -167,6 +167,7 @@ func (ps *PostgresStorage) creatingHyperTable() error {
|
||||
{models.PigBatchLog{}, "happened_at"},
|
||||
{models.WeighingBatch{}, "weighing_time"},
|
||||
{models.WeighingRecord{}, "weighing_time"},
|
||||
{models.PigTransferLog{}, "transfer_time"},
|
||||
}
|
||||
|
||||
for _, table := range tablesToConvert {
|
||||
@@ -203,6 +204,7 @@ func (ps *PostgresStorage) applyCompressionPolicies() error {
|
||||
{models.PigBatchLog{}, "pig_batch_id"},
|
||||
{models.WeighingBatch{}, "pig_batch_id"},
|
||||
{models.WeighingRecord{}, "weighing_batch_id"},
|
||||
{models.PigTransferLog{}, "pig_batch_id"},
|
||||
}
|
||||
|
||||
for _, policy := range policies {
|
||||
|
||||
Reference in New Issue
Block a user