mirror of
https://github.com/directus/directus.git
synced 2026-02-01 06:55:05 -05:00
Merge branch 'main' into insights
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Knex } from 'knex';
|
||||
|
||||
export async function up(knex: Knex): Promise<void> {
|
||||
await knex.schema.alterTable('directus_collections', (table) => {
|
||||
table.json('item_duplication_fields').nullable();
|
||||
});
|
||||
}
|
||||
|
||||
export async function down(knex: Knex): Promise<void> {
|
||||
await knex.schema.alterTable('directus_collections', (table) => {
|
||||
table.dropColumn('item_duplication_fields');
|
||||
});
|
||||
}
|
||||
@@ -179,3 +179,19 @@ fields:
|
||||
- text: '$t:field_options.directus_collections.do_not_track_anything'
|
||||
value: null
|
||||
width: half
|
||||
|
||||
- field: duplication_divider
|
||||
special:
|
||||
- alias
|
||||
- no-data
|
||||
interface: presentation-divider
|
||||
options:
|
||||
icon: content_copy
|
||||
title: Duplication
|
||||
|
||||
- field: item_duplication_fields
|
||||
special:
|
||||
- json
|
||||
interface: code
|
||||
options:
|
||||
language: JSON
|
||||
|
||||
Reference in New Issue
Block a user