diff options
author | luxagraf <sng@luxagraf.net> | 2023-06-29 13:35:26 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-06-29 13:35:26 -0500 |
commit | 67fbb0244bd401b360d5d921be6005a44105130e (patch) | |
tree | d7cb3cf680cd08afbd2af08816ef3960d0b96e66 /app/deals/migrations | |
parent | 2fa18bc963220aa099a6ac8d95be43aad92da034 (diff) |
deals: changed discount persent to sort on number
Diffstat (limited to 'app/deals/migrations')
-rw-r--r-- | app/deals/migrations/0006_rename_discount_percent_deal_discount_percent_str.py | 18 | ||||
-rw-r--r-- | app/deals/migrations/0007_rename_discount_percent_num_deal_discount_percent.py | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app/deals/migrations/0006_rename_discount_percent_deal_discount_percent_str.py b/app/deals/migrations/0006_rename_discount_percent_deal_discount_percent_str.py new file mode 100644 index 0000000..d0af53c --- /dev/null +++ b/app/deals/migrations/0006_rename_discount_percent_deal_discount_percent_str.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-06-29 18:34 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0005_deal_discount_percent_num'), + ] + + operations = [ + migrations.RenameField( + model_name='deal', + old_name='discount_percent', + new_name='discount_percent_str', + ), + ] diff --git a/app/deals/migrations/0007_rename_discount_percent_num_deal_discount_percent.py b/app/deals/migrations/0007_rename_discount_percent_num_deal_discount_percent.py new file mode 100644 index 0000000..88c3f86 --- /dev/null +++ b/app/deals/migrations/0007_rename_discount_percent_num_deal_discount_percent.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.2 on 2023-06-29 18:34 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('deals', '0006_rename_discount_percent_deal_discount_percent_str'), + ] + + operations = [ + migrations.RenameField( + model_name='deal', + old_name='discount_percent_num', + new_name='discount_percent', + ), + ] |