Skip to content

Commit

Permalink
make the tag population a no-op (#4712)
Browse files Browse the repository at this point in the history
maskarb authored Oct 3, 2023
1 parent bcf1a31 commit bf88343
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -9,12 +9,7 @@


def copy_field(apps, schema_editor):
OCPUsageLineItemDailySummary = apps.get_model("reporting", "OCPUsageLineItemDailySummary")
db_alias = schema_editor.connection.alias

OCPUsageLineItemDailySummary.objects.using(db_alias).all().update(
all_labels=CombinedExpression(F("pod_labels"), "||", F("volume_labels"), JSONField())
)
pass


class Migration(migrations.Migration):

0 comments on commit bf88343

Please sign in to comment.