Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update migrations

NyanKiyoshie5d9475ae368
diff --git a/saleor/events/migrations/0066_auto_20190502_0910.py b/saleor/events/migrations/0066_auto_20190502_0910.py
index 5d650ea9d0..61a1ec0384 100644
--- a/saleor/events/migrations/0066_auto_20190502_0910.py
+++ b/saleor/events/migrations/0066_auto_20190502_0910.py
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='orderevent',
name='type',
- field=models.CharField(choices=[('draft_created', 'The draft order was created'), ('draft_added_products', 'Some products were added to the draft order'), ('draft_removed_products', 'Some products were removed from the draft order'), ('placed', 'The order was placed'), ('placed_from_draft', 'The draft order was placed'), ('oversold_items', 'The draft order was placed with oversold items'), ('canceled', 'The order was canceled'), ('order_marked_as_paid', 'The order was manually marked as fully paid'), ('order_fully_paid', 'The order was fully paid'), ('updated_address', 'The address from the placed order was updated'), ('email_sent', 'The email was sent'), ('payment_captured', 'The payment was captured'), ('payment_refunded', 'The payment was refunded'), ('payment_voided', 'The payment was voided'), ('payment_failed', 'The payment was failed'), ('fulfillment_canceled', 'A fulfillment was canceled'), ('fulfillment_restocked_items', 'The items of the fulfillment were restocked'), ('fulfillment_fulfilled_items', 'Some items were fulfilled'), ('tracking_updated', "The fulfillment's tracking code was updated"), ('note_added', 'A note was added to the order'), ('other', 'An unknown order event containing a message')], max_length=255),
+ 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_CAPTURED', 'payment_captured'), ('PAYMENT_REFUNDED', 'payment_refunded'), ('PAYMENT_VOIDED', 'payment_voided'), ('PAYMENT_FAILED', 'payment_failed'), ('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),
),
]