prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Fixer la migration vers la 2.44.0
  - [x] champs de traductions _xx créés avec NOT NULL et donc impossible à créer
  - [x] géométries des sites à transformer en geometrycollection
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `geotrek/outdoor/migrations/0003_auto_20201214_1408.py`
  Content:
  ```
  1 # Generated by Django 3.1.4 on 2020-12-14 14:08
  2 
  3 from django.conf import settings
  4 import django.contrib.gis.db.models.fields
  5 from django.db import migrations, models
  6 import django.db.models.deletion
  7 
  8 
  9 class Migration(migrations.Migration):
  10 
  11     dependencies = [
  12         ('outdoor', '0002_practice_sitepractice'),
  13     ]
  14 
  15     operations = [
  16         migrations.AlterModelOptions(
  17             name='site',
  18             options={'ordering': ('name',), 'verbose_name': 'Outdoor site', 'verbose_name_plural': 'Outdoor sites'},
  19         ),
  20         migrations.AlterField(
  21             model_name='site',
  22             name='geom',
  23             field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),
  24         ),
  25         migrations.AlterField(
  26             model_name='sitepractice',
  27             name='site',
  28             field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='site_practices', to='outdoor.site', verbose_name='Outdoor site'),
  29         ),
  30     ]
  31
  ```
  --- 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/geotrek/outdoor/migrations/0003_auto_20201214_1408.py b/geotrek/outdoor/migrations/0003_auto_20201214_1408.py
  --- a/geotrek/outdoor/migrations/0003_auto_20201214_1408.py
  +++ b/geotrek/outdoor/migrations/0003_auto_20201214_1408.py
  @@ -17,10 +17,17 @@
               name='site',
               options={'ordering': ('name',), 'verbose_name': 'Outdoor site', 'verbose_name_plural': 'Outdoor sites'},
           ),
  -        migrations.AlterField(
  -            model_name='site',
  -            name='geom',
  -            field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),
  +        migrations.SeparateDatabaseAndState(
  +            database_operations=[
  +                migrations.RunSQL('ALTER TABLE "outdoor_site" ALTER COLUMN "geom" TYPE geometry(GeometryCollection,2154) USING ST_ForceCollection(geom);')
  +            ],
  +            state_operations=[
  +                migrations.AlterField(
  +                    model_name='site',
  +                    name='geom',
  +                    field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),
  +                ),
  +            ]
           ),
           migrations.AlterField(
               model_name='sitepractice',
  
verification_info: {"golden_diff": "diff --git a/geotrek/outdoor/migrations/0003_auto_20201214_1408.py b/geotrek/outdoor/migrations/0003_auto_20201214_1408.py\n--- a/geotrek/outdoor/migrations/0003_auto_20201214_1408.py\n+++ b/geotrek/outdoor/migrations/0003_auto_20201214_1408.py\n@@ -17,10 +17,17 @@\n             name='site',\n             options={'ordering': ('name',), 'verbose_name': 'Outdoor site', 'verbose_name_plural': 'Outdoor sites'},\n         ),\n-        migrations.AlterField(\n-            model_name='site',\n-            name='geom',\n-            field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),\n+        migrations.SeparateDatabaseAndState(\n+            database_operations=[\n+                migrations.RunSQL('ALTER TABLE \"outdoor_site\" ALTER COLUMN \"geom\" TYPE geometry(GeometryCollection,2154) USING ST_ForceCollection(geom);')\n+            ],\n+            state_operations=[\n+                migrations.AlterField(\n+                    model_name='site',\n+                    name='geom',\n+                    field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),\n+                ),\n+            ]\n         ),\n         migrations.AlterField(\n             model_name='sitepractice',\n", "issue": "Fixer la migration vers la 2.44.0\n- [x] champs de traductions _xx cr\u00e9\u00e9s avec NOT NULL et donc impossible \u00e0 cr\u00e9er\r\n- [x] g\u00e9om\u00e9tries des sites \u00e0 transformer en geometrycollection\n", "before_files": [{"content": "# Generated by Django 3.1.4 on 2020-12-14 14:08\n\nfrom django.conf import settings\nimport django.contrib.gis.db.models.fields\nfrom django.db import migrations, models\nimport django.db.models.deletion\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        ('outdoor', '0002_practice_sitepractice'),\n    ]\n\n    operations = [\n        migrations.AlterModelOptions(\n            name='site',\n            options={'ordering': ('name',), 'verbose_name': 'Outdoor site', 'verbose_name_plural': 'Outdoor sites'},\n        ),\n        migrations.AlterField(\n            model_name='site',\n            name='geom',\n            field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),\n        ),\n        migrations.AlterField(\n            model_name='sitepractice',\n            name='site',\n            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='site_practices', to='outdoor.site', verbose_name='Outdoor site'),\n        ),\n    ]\n", "path": "geotrek/outdoor/migrations/0003_auto_20201214_1408.py"}], "after_files": [{"content": "# Generated by Django 3.1.4 on 2020-12-14 14:08\n\nfrom django.conf import settings\nimport django.contrib.gis.db.models.fields\nfrom django.db import migrations, models\nimport django.db.models.deletion\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        ('outdoor', '0002_practice_sitepractice'),\n    ]\n\n    operations = [\n        migrations.AlterModelOptions(\n            name='site',\n            options={'ordering': ('name',), 'verbose_name': 'Outdoor site', 'verbose_name_plural': 'Outdoor sites'},\n        ),\n        migrations.SeparateDatabaseAndState(\n            database_operations=[\n                migrations.RunSQL('ALTER TABLE \"outdoor_site\" ALTER COLUMN \"geom\" TYPE geometry(GeometryCollection,2154) USING ST_ForceCollection(geom);')\n            ],\n            state_operations=[\n                migrations.AlterField(\n                    model_name='site',\n                    name='geom',\n                    field=django.contrib.gis.db.models.fields.GeometryCollectionField(srid=settings.SRID, verbose_name='Location'),\n                ),\n            ]\n        ),\n        migrations.AlterField(\n            model_name='sitepractice',\n            name='site',\n            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='site_practices', to='outdoor.site', verbose_name='Outdoor site'),\n        ),\n    ]\n", "path": "geotrek/outdoor/migrations/0003_auto_20201214_1408.py"}]}