Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Clean up migrations
Maciej Korycinski40ab9184fbac
diff --git a/saleor/order/migrations/0087_auto_20200728_1202.py b/saleor/order/migrations/0087_auto_20200728_1202.pynew file mode 100644index 0000000000..fbea19cb4f--- /dev/null+++ b/saleor/order/migrations/0087_auto_20200728_1202.py@@ -0,0 +1,49 @@+# Generated by Django 3.0.8 on 2020-07-28 12:02++from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ("order", "0086_auto_20200716_1226"),+ ]++ operations = [+ migrations.AlterField(+ model_name="orderevent",+ name="type",+ field=models.CharField(+ choices=[+ ("DRAFT_CREATED", "draft_created"),+ ("DRAFT_ADDED_PRODUCTS", "draft_added_products"),+ ("DRAFT_REMOVED_PRODUCTS", "draft_removed_products"),+ ("PLACED", "placed"),+ ("PLACED_FROM_DRAFT", "placed_from_draft"),+ ("OVERSOLD_ITEMS", "oversold_items"),+ ("CANCELED", "canceled"),+ ("ORDER_MARKED_AS_PAID", "order_marked_as_paid"),+ ("ORDER_FULLY_PAID", "order_fully_paid"),+ ("UPDATED_ADDRESS", "updated_address"),+ ("EMAIL_SENT", "email_sent"),+ ("PAYMENT_AUTHORIZED", "payment_authorized"),+ ("PAYMENT_CAPTURED", "payment_captured"),+ ("EXTERNAL_SERVICE_NOTIFICATION", "external_service_notification"),+ ("PAYMENT_REFUNDED", "payment_refunded"),+ ("PAYMENT_VOIDED", "payment_voided"),+ ("PAYMENT_FAILED", "payment_failed"),+ ("INVOICE_REQUESTED", "invoice_requested"),+ ("INVOICE_GENERATED", "invoice_generated"),+ ("INVOICE_UPDATED", "invoice_updated"),+ ("INVOICE_SENT", "invoice_sent"),+ ("FULFILLMENT_CANCELED", "fulfillment_canceled"),+ ("FULFILLMENT_RESTOCKED_ITEMS", "fulfillment_restocked_items"),+ ("FULFILLMENT_FULFILLED_ITEMS", "fulfillment_fulfilled_items"),+ ("TRACKING_UPDATED", "tracking_updated"),+ ("NOTE_ADDED", "note_added"),+ ("OTHER", "other"),+ ],+ max_length=255,+ ),+ ),+ ]diff --git a/saleor/payment/migrations/0018_auto_20200720_1118.py b/saleor/payment/migrations/0018_auto_20200720_1118.pydeleted file mode 100644index a82d360465..0000000000--- a/saleor/payment/migrations/0018_auto_20200720_1118.py+++ /dev/null@@ -1,45 +0,0 @@-# Generated by Django 3.0.6 on 2020-07-20 11:18--from django.db import migrations, models---class Migration(migrations.Migration):-- dependencies = [- ("payment", "0017_transaction_action_required_data"),- ]-- operations = [- migrations.AlterField(- model_name="payment",- name="charge_status",- field=models.CharField(- choices=[- ("action-required", "Action required"),- ("not-charged", "Not charged"),- ("partially-charged", "Partially charged"),- ("fully-charged", "Fully charged"),- ("partially-refunded", "Partially refunded"),- ("fully-refunded", "Fully refunded"),- ],- default="not-charged",- max_length=20,- ),- ),- migrations.AlterField(- model_name="transaction",- name="kind",- field=models.CharField(- choices=[- ("action", "Action required"),- ("auth", "Authorization"),- ("refund", "Refund"),- ("refund_ongoing", "Refund in progress"),- ("capture", "Capture"),- ("void", "Void"),- ("confirm", "Confirm"),- ],- max_length=25,- ),- ),- ]diff --git a/saleor/payment/migrations/0019_auto_20200721_1313.py b/saleor/payment/migrations/0018_auto_20200724_1200.pysimilarity index 92%rename from saleor/payment/migrations/0019_auto_20200721_1313.pyrename to saleor/payment/migrations/0018_auto_20200724_1200.pyindex 1f9da2fadb..7bc8eed383 100644--- a/saleor/payment/migrations/0019_auto_20200721_1313.py+++ b/saleor/payment/migrations/0018_auto_20200724_1200.py@@ -1,4 +1,4 @@-# Generated by Django 3.0.6 on 2020-07-21 13:13+# Generated by Django 3.0.6 on 2020-07-24 12:00from django.db import migrations, models@@ -6,7 +6,7 @@ from django.db import migrations, modelsclass Migration(migrations.Migration):dependencies = [- ("payment", "0018_auto_20200720_1118"),+ ("payment", "0017_transaction_action_required_data"),]operations = [