From e226a470281b470f8d4e95ee7ea62de2a6442ad5 Mon Sep 17 00:00:00 2001 From: Valknar XXX Date: Tue, 28 Oct 2025 04:38:48 +0100 Subject: [PATCH] fix: Docker Compose volume mapping and schema compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed Directus extension volume mapping to point to bundle root instead of dist folder - Changed directus_users.slug field to nullable to allow existing users without slugs - These changes enable proper loading of the bundle extension in Docker environment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- compose.yml | 2 +- directus.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 9fdfdef..7dca0e6 100644 --- a/compose.yml +++ b/compose.yml @@ -45,7 +45,7 @@ services: - "8055:8055" volumes: - directus-uploads:/directus/uploads - - ${SEXY_DIRECTUS_BUNDLE:-./packages/bundle/dist}:/directus/extensions/sexy.pivoine.art + - ${SEXY_DIRECTUS_BUNDLE:-./packages/bundle}:/directus/extensions/sexy.pivoine.art environment: # Database DB_CLIENT: pg diff --git a/directus.yaml b/directus.yaml index 6d7dc0f..641c2b0 100644 --- a/directus.yaml +++ b/directus.yaml @@ -206,7 +206,7 @@ fields: max_length: 255 numeric_precision: null numeric_scale: null - is_nullable: false + is_nullable: true is_unique: true is_indexed: true is_primary_key: false