fix: Docker Compose volume mapping and schema compatibility

- 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 <noreply@anthropic.com>
This commit is contained in:
Valknar XXX
2025-10-28 04:38:48 +01:00
parent aa4e376490
commit e226a47028
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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