Skip to content

Commit cf5e60b

Browse files
authored
[COST-4930] drop unrequested fields from the ec2 model (#5119)
* [COST-4930] drop unrequested fields and alter instance_name in ec2 model * separate field changes from dropping cols
1 parent ae263b8 commit cf5e60b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

koku/reporting/provider/aws/models.py

-2
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,11 @@ class Meta:
204204
usage_end = models.DateField(null=True)
205205
cost_entry_bill = models.ForeignKey("AWSCostEntryBill", on_delete=models.CASCADE, null=True)
206206
account_alias = models.ForeignKey("AWSAccountAlias", on_delete=models.PROTECT, null=True)
207-
organizational_unit = models.ForeignKey("AWSOrganizationalUnit", on_delete=models.SET_NULL, null=True)
208207
usage_account_id = models.CharField(max_length=50, null=False)
209208
resource_id = models.CharField(max_length=256, null=False)
210209
instance_name = models.CharField(max_length=256, null=True)
211210
instance_type = models.CharField(max_length=50, null=True)
212211
operating_system = models.CharField(max_length=50, null=True)
213-
availability_zone = models.CharField(max_length=50, null=True)
214212
region = models.CharField(max_length=50, null=True)
215213
vcpu = models.IntegerField(null=True)
216214
memory = models.CharField(max_length=50, null=True)

0 commit comments

Comments
 (0)