#28281·directus

Critical! Directus product_id changes during schema-sync

Author: u12206050Created Sep 23, 2026Updated Sep 23, 2026
LabelsNeeds Info

Describe the Bug

When doing a schema-sync from production locally, I am forced to use a sandbox-license key, however this causes the product_id to change live in production, causing massive outages for a ton of our users "Service Unavailabe" etc.

I need to then revert the product_id change, and reimport the schema just to fix it, or manually update it in the database.

This is also an issue in our CI/CD pipeline, luckily we are doing an import instead of export, so it is simply just overriding the project_id to the correct one before the server realises it!

This is a very serious and critical bug and issue all due to licenses which have been a hassle since upgrading.

To Reproduce

Across two environments one prod and one local using separate license keys for each, do a schema sync, if it doesn't happen at first, you might need to make an actual schema change.

Directus Version

v12.3.1

Hosting Strategy

Self-Hosted (Custom)

Database

MySql