directus/v6-archive

Unable to select 'User' in User Interface type after an table import

Open

#36 opened on Oct 25, 2018

 (0 comments) (0 reactions) (0 assignees)JavaScript (4 forks)auto 404
4. MinorInterfacebughelp wantedv6

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

From directus created by spawnrider : directus/directus#2084

Version Info

  • Directus version and branch: Using Directus Docker 6.4 version
  • PHP version: 7.1.2
  • MySQL version: 5.5
  • Web server: Apache
  • OS name and version: Windows 10

Expected Behavior

I imported an table from another environment. I want to manage it on Directus. This table contains a column of type INT(11). This column was of "User" User interface type on the source environment. It would be also of "User" type on this environment.

Actual Behavior

On this environment, the type is NUMERIC and cannot be switch back to "User".

Steps to Reproduce

  1. Create a table with "User" field of type "User" on an environment
  2. Copy this table using SQL / PhpMyAdmin to another environment
  3. Manage this table on this new environment.
  4. The "User" field is now of type "NUMERIC" and not "User".

Schema Dump, Logs, or Screenshots

directus_user_issue

Contributor guide