prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Meta-schemas are not created properly
  It seems that a fresh installation of the most recent version does not create the meta-schemas anymore.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `oedb_datamodels/versions/5c098aa81e2c_create_schemas.py`
  Content:
  ```
  1 """create schemas
  2 
  3 Revision ID: 5c098aa81e2c
  4 Revises: 46fb02acc3b1
  5 Create Date: 2017-11-23 15:53:57.716306
  6 
  7 """
  8 import sqlalchemy as sa
  9 from alembic import op
  10 
  11 # revision identifiers, used by Alembic.
  12 revision = "5c098aa81e2c"
  13 down_revision = "048215319c74"
  14 branch_labels = None
  15 depends_on = None
  16 
  17 schemas = [
  18     "demand",
  19     "economy",
  20     "emission",
  21     "environment",
  22     "grid",
  23     "boundaries",
  24     "society",
  25     "supply",
  26     "scenario",
  27     "climate",
  28     "model_draft",
  29     "openstreetmap",
  30     "reference",
  31 ]
  32 
  33 
  34 def upgrade():
  35     for s in schemas:
  36         op.execute("CREATE SCHEMA " + s)
  37 
  38 
  39 def downgrade():
  40     for s in schemas:
  41         op.execute("DROP SCHEMA " + s)
  42
  ```
  --- 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/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py b/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py
  --- a/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py
  +++ b/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py
  @@ -30,12 +30,15 @@
       "reference",
   ]
   
  -
   def upgrade():
       for s in schemas:
           op.execute("CREATE SCHEMA " + s)
  +    for s in schemas:
  +        op.execute("CREATE SCHEMA _" + s)
   
   
   def downgrade():
       for s in schemas:
  -        op.execute("DROP SCHEMA " + s)
  +        op.execute("DROP SCHEMA _" + s + " CASCADE")
  +    for s in schemas:
  +        op.execute("DROP SCHEMA " + s + " CASCADE")
  
verification_info: {"golden_diff": "diff --git a/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py b/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py\n--- a/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py\n+++ b/oedb_datamodels/versions/5c098aa81e2c_create_schemas.py\n@@ -30,12 +30,15 @@\n     \"reference\",\n ]\n \n-\n def upgrade():\n     for s in schemas:\n         op.execute(\"CREATE SCHEMA \" + s)\n+    for s in schemas:\n+        op.execute(\"CREATE SCHEMA _\" + s)\n \n \n def downgrade():\n     for s in schemas:\n-        op.execute(\"DROP SCHEMA \" + s)\n+        op.execute(\"DROP SCHEMA _\" + s + \" CASCADE\")\n+    for s in schemas:\n+        op.execute(\"DROP SCHEMA \" + s + \" CASCADE\")\n", "issue": "Meta-schemas are not created properly\nIt seems that a fresh installation of the most recent version does not create the meta-schemas anymore.\n", "before_files": [{"content": "\"\"\"create schemas\n\nRevision ID: 5c098aa81e2c\nRevises: 46fb02acc3b1\nCreate Date: 2017-11-23 15:53:57.716306\n\n\"\"\"\nimport sqlalchemy as sa\nfrom alembic import op\n\n# revision identifiers, used by Alembic.\nrevision = \"5c098aa81e2c\"\ndown_revision = \"048215319c74\"\nbranch_labels = None\ndepends_on = None\n\nschemas = [\n    \"demand\",\n    \"economy\",\n    \"emission\",\n    \"environment\",\n    \"grid\",\n    \"boundaries\",\n    \"society\",\n    \"supply\",\n    \"scenario\",\n    \"climate\",\n    \"model_draft\",\n    \"openstreetmap\",\n    \"reference\",\n]\n\n\ndef upgrade():\n    for s in schemas:\n        op.execute(\"CREATE SCHEMA \" + s)\n\n\ndef downgrade():\n    for s in schemas:\n        op.execute(\"DROP SCHEMA \" + s)\n", "path": "oedb_datamodels/versions/5c098aa81e2c_create_schemas.py"}], "after_files": [{"content": "\"\"\"create schemas\n\nRevision ID: 5c098aa81e2c\nRevises: 46fb02acc3b1\nCreate Date: 2017-11-23 15:53:57.716306\n\n\"\"\"\nimport sqlalchemy as sa\nfrom alembic import op\n\n# revision identifiers, used by Alembic.\nrevision = \"5c098aa81e2c\"\ndown_revision = \"048215319c74\"\nbranch_labels = None\ndepends_on = None\n\nschemas = [\n    \"demand\",\n    \"economy\",\n    \"emission\",\n    \"environment\",\n    \"grid\",\n    \"boundaries\",\n    \"society\",\n    \"supply\",\n    \"scenario\",\n    \"climate\",\n    \"model_draft\",\n    \"openstreetmap\",\n    \"reference\",\n]\n\ndef upgrade():\n    for s in schemas:\n        op.execute(\"CREATE SCHEMA \" + s)\n    for s in schemas:\n        op.execute(\"CREATE SCHEMA _\" + s)\n\n\ndef downgrade():\n    for s in schemas:\n        op.execute(\"DROP SCHEMA _\" + s + \" CASCADE\")\n    for s in schemas:\n        op.execute(\"DROP SCHEMA \" + s + \" CASCADE\")\n", "path": "oedb_datamodels/versions/5c098aa81e2c_create_schemas.py"}]}