Skip to content

Migration doesn't work on relational fields #323

Open
@muratgozel

Description

@muratgozel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions