prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Running migrations for Travis builds
  We run migrations to ensure no migrations are missing, and they work on fresh installs.
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py`
  Content:
  ```
  1 # -*- coding: utf-8 -*-
  2 from __future__ import unicode_literals
  3 
  4 from django.db import models, migrations
  5 
  6 
  7 def create_shipping_event(apps, schema_editor):
  8     """
  9 
  10     Create a single new shipping event type that can be applied to an order. This will allow us to initiate order
  11     shipment.
  12 
  13     """
  14     # Create all our Product Types.
  15     ShippingEventType = apps.get_model("order", "ShippingEventType")
  16     shipped_event = ShippingEventType(code="shipped", name="Shipped")
  17     shipped_event.save()
  18 
  19 
  20 class Migration(migrations.Migration):
  21 
  22     dependencies = [
  23         ('order', '0002_auto_20141007_2032'),
  24     ]
  25 
  26     operations = [
  27         migrations.RunPython(create_shipping_event),
  28     ]
  29
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py b/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py
  --- a/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py
  +++ b/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py
  @@ -13,8 +13,7 @@
       """
       # Create all our Product Types.
       ShippingEventType = apps.get_model("order", "ShippingEventType")
  -    shipped_event = ShippingEventType(code="shipped", name="Shipped")
  -    shipped_event.save()
  +    ShippingEventType.objects.create(code="shipped", name="Shipped")
   
   
   class Migration(migrations.Migration):
  
verification_info: {"golden_diff": "diff --git a/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py b/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py\n--- a/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py\n+++ b/ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py\n@@ -13,8 +13,7 @@\n     \"\"\"\n     # Create all our Product Types.\n     ShippingEventType = apps.get_model(\"order\", \"ShippingEventType\")\n-    shipped_event = ShippingEventType(code=\"shipped\", name=\"Shipped\")\n-    shipped_event.save()\n+    ShippingEventType.objects.create(code=\"shipped\", name=\"Shipped\")\n \n \n class Migration(migrations.Migration):\n", "issue": "Running migrations for Travis builds\nWe run migrations to ensure no migrations are missing, and they work on fresh installs.\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals\n\nfrom django.db import models, migrations\n\n\ndef create_shipping_event(apps, schema_editor):\n    \"\"\"\n\n    Create a single new shipping event type that can be applied to an order. This will allow us to initiate order\n    shipment.\n\n    \"\"\"\n    # Create all our Product Types.\n    ShippingEventType = apps.get_model(\"order\", \"ShippingEventType\")\n    shipped_event = ShippingEventType(code=\"shipped\", name=\"Shipped\")\n    shipped_event.save()\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        ('order', '0002_auto_20141007_2032'),\n    ]\n\n    operations = [\n        migrations.RunPython(create_shipping_event),\n    ]\n", "path": "ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals\n\nfrom django.db import models, migrations\n\n\ndef create_shipping_event(apps, schema_editor):\n    \"\"\"\n\n    Create a single new shipping event type that can be applied to an order. This will allow us to initiate order\n    shipment.\n\n    \"\"\"\n    # Create all our Product Types.\n    ShippingEventType = apps.get_model(\"order\", \"ShippingEventType\")\n    ShippingEventType.objects.create(code=\"shipped\", name=\"Shipped\")\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        ('order', '0002_auto_20141007_2032'),\n    ]\n\n    operations = [\n        migrations.RunPython(create_shipping_event),\n    ]\n", "path": "ecommerce/extensions/order/migrations/0003_auto_20150224_1520.py"}]}