Skip to content

Commit

Permalink
[COST-4930] drop unrequested fields from the ec2 model (#5119)
Browse files Browse the repository at this point in the history
* [COST-4930] drop unrequested fields and alter instance_name in ec2 model

* separate field changes from dropping cols
  • Loading branch information
djnakabaale authored May 21, 2024
1 parent ae263b8 commit cf5e60b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions koku/reporting/provider/aws/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,11 @@ class Meta:
usage_end = models.DateField(null=True)
cost_entry_bill = models.ForeignKey("AWSCostEntryBill", on_delete=models.CASCADE, null=True)
account_alias = models.ForeignKey("AWSAccountAlias", on_delete=models.PROTECT, null=True)
organizational_unit = models.ForeignKey("AWSOrganizationalUnit", on_delete=models.SET_NULL, null=True)
usage_account_id = models.CharField(max_length=50, null=False)
resource_id = models.CharField(max_length=256, null=False)
instance_name = models.CharField(max_length=256, null=True)
instance_type = models.CharField(max_length=50, null=True)
operating_system = models.CharField(max_length=50, null=True)
availability_zone = models.CharField(max_length=50, null=True)
region = models.CharField(max_length=50, null=True)
vcpu = models.IntegerField(null=True)
memory = models.CharField(max_length=50, null=True)
Expand Down

0 comments on commit cf5e60b

Please sign in to comment.