diff --git a/zerodowntime/zerodowntime/product/migrations/0006_remove_created_from_db.py b/zerodowntime/zerodowntime/product/migrations/0006_remove_created_from_db.py new file mode 100644 index 0000000..588388e --- /dev/null +++ b/zerodowntime/zerodowntime/product/migrations/0006_remove_created_from_db.py @@ -0,0 +1,21 @@ +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("product", "0005_remove_product_created_alter_product_created_at"), + ] + + operations = [ + migrations.SeparateDatabaseAndState( + database_operations=[ + # remove the `created` column from the DB + migrations.RunSQL( + sql=""" + ALTER TABLE product_product + DROP COLUMN created; + """, + ) + ], + ) + ] diff --git a/zerodowntime/zerodowntime/product/migrations/0008_merge_20230527_0946.py b/zerodowntime/zerodowntime/product/migrations/0008_merge_20230527_0946.py new file mode 100644 index 0000000..2a7289a --- /dev/null +++ b/zerodowntime/zerodowntime/product/migrations/0008_merge_20230527_0946.py @@ -0,0 +1,12 @@ +# Generated by Django 4.2.1 on 2023-05-27 09:46 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("product", "0006_remove_created_from_db"), + ("product", "0007_merge_20230526_2121"), + ] + + operations = []