directus / directus/docs

Migration doesn't work on relational fields

Open
#323 4 comments 0 reactions 0 assignees View on GitHub
Docs
Dominant language
TypeScript
Stars
22
Forks
82
Avg merge
18h 49m
Merged PRs (30d)
4

Description

### Describe the Bug

I'm running the migration script as described in [the docs](https://docs.directus.io/guides/migration/node.html) 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](https://docs.directus.io/guides/migration/node.html).
- 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.