- add references, collections and identifiers to dataset model
All checks were successful
CI Pipeline / japa-tests (push) Successful in 52s
All checks were successful
CI Pipeline / japa-tests (push) Successful in 52s
- npm updates
This commit is contained in:
parent
f6d735d0fd
commit
5f8fe1c16d
9 changed files with 459 additions and 346 deletions
|
@ -11,7 +11,7 @@ export default class DocumentFiles extends BaseSchema {
|
|||
.foreign('document_id', 'document_files_document_id_foreign')
|
||||
.references('id')
|
||||
.inTable('documents')
|
||||
.onDelete('CASCADE') // delete this when document is deleted
|
||||
.onDelete('CASCADE') // delete this file when document is deleted
|
||||
.onUpdate('CASCADE');
|
||||
table.string('path_name').notNullable();
|
||||
table.string('label');
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue