mitodl / mitxpro

BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

fix: remove spaces from the product version text_id fields #3023

Closed arslanashraf7 closed 1 week ago

arslanashraf7 commented 1 month ago

What are the relevant tickets?

https://github.com/mitodl/hq/issues/4568

Description (What does it do?)

Screenshots (if appropriate):

Validation

image

How can this be tested?

NOTE: This also temporarily disables the update lock on the database for the product version table, but puts it back once we update the data. So, Ensure that the protection rules are applied back properly after the migration. You can try updating a product version entry and you should not be able to do that by any means either by Django Admin, Django Shell, or database SQL script.

arslanashraf7 commented 3 weeks ago

@asadali145 Thanks for the review, I'll merge this once the data ingestion feature is on Producton.