Skip to content

Commit

Permalink
feat: add data field at Cost, MonthlyCost Model
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Jan 15, 2024
1 parent 2620b5f commit ee502f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spaceone/cost_analysis/model/cost_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down Expand Up @@ -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": [],
Expand Down

0 comments on commit ee502f2

Please sign in to comment.