docs icon indicating copy to clipboard operation
docs copied to clipboard

Migration doesn't work on relational fields

Open muratgozel opened this issue 1 year ago • 4 comments

Describe the Bug

I'm running the migration script as described in the docs to apply the schema in localhost to server. All models with all of their fields have applied successfully except relational fields. They look like as the following:

Screen Shot 2024-07-04 at 17 32 18

I tried restarting the server and even tried on fresh server install. Both of parties is using the same version of directus.

To Reproduce

  • Two fresh directus apps, one with some models in it.
  • Try to migrate one to the other based on the migration script described in the docs.
  • You will see that relational fields doesn't work in the target app.

Directus Version

v10.13

Hosting Strategy

Self-Hosted (Docker Image)

Database

postgres:16.2

muratgozel avatar Jul 04 '24 14:07 muratgozel