diff --git a/arkindex/documents/migrations/0001_initial.py b/arkindex/documents/migrations/0001_initial.py
index 93e291d49f8c948473df6459e5b7275e34640bdc..4b5f8c441d2fc862d0246fb5e5cef2555fa5e919 100644
--- a/arkindex/documents/migrations/0001_initial.py
+++ b/arkindex/documents/migrations/0001_initial.py
@@ -6,6 +6,7 @@ import django.contrib.postgres.fields.hstore
 import django.core.validators
 import django.db.models.deletion
 import enumfields.fields
+from django.contrib.postgres.operations import CreateExtension
 from django.db import migrations, models
 
 import arkindex.documents.dates
@@ -22,6 +23,7 @@ class Migration(migrations.Migration):
     ]
 
     operations = [
+        CreateExtension('uuid-ossp'),
         migrations.CreateModel(
             name='AllowedMetaData',
             fields=[