UNPKG

@tanglemedia/directus-collection-flex-editor

Version:

Creates the flex table and some basic related nodes like image, resource, embed, and section

16 lines (12 loc) 491 B
const COLLECTION_NAME = "tngl_flex_content_nodes"; export async function up(knex) { // remove all item duplication fields from flex editor // adding item duplication field into the flex editor has been delegated to each node component package // update the directus_collections row with the updated flex component list await knex("directus_collections") .where("collection", COLLECTION_NAME) .update({ item_duplication_fields: null, }); } export async function down(knex) {}