From ee502f2e4a37ae12edf5b43dd4f63730d3eab36e Mon Sep 17 00:00:00 2001 From: ImMin5 Date: Mon, 15 Jan 2024 16:07:39 +0900 Subject: [PATCH] feat: add data field at Cost, MonthlyCost Model --- src/spaceone/cost_analysis/model/cost_model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spaceone/cost_analysis/model/cost_model.py b/src/spaceone/cost_analysis/model/cost_model.py index 67ff7305..0d2a2758 100644 --- a/src/spaceone/cost_analysis/model/cost_model.py +++ b/src/spaceone/cost_analysis/model/cost_model.py @@ -26,6 +26,7 @@ class Cost(MongoModel): billed_year = StringField(max_length=4, required=True) billed_month = StringField(max_length=7, required=True) billed_date = StringField(max_length=10, required=True) + data = DictField(default={}) meta = { "updatable_fields": [], @@ -96,6 +97,7 @@ class MonthlyCost(MongoModel): domain_id = StringField(max_length=40) billed_year = StringField(max_length=4, required=True) billed_month = StringField(max_length=7, required=True) + data = DictField(default={}) meta = { "updatable_fields": [],