directus/v6-archive

Adding status column to existing table removes all items from view

Open

#14 opened on Oct 25, 2018

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

Repository metrics

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

Description

From directus created by rijkvanzanten : directus/directus#1949

Version Info

  • Directus version and branch: develop ba07c00435424254c3e07d6c18e80417472e14d9

Expected Behavior

Creating a new column with the status interface sets all columns to a default

Actual Behavior

The column is NULL in the DB (since it's a new column) which makes Directus hide the items completely

Steps to Reproduce

  1. Create a table without a status column
  2. Add some records
  3. Add a status column

Contributor guide