- add methods for releasing datasets from submitter
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
- npm updates - side menu with child items - flash messages via HttpContext response (extended via macro)
This commit is contained in:
parent
e0ff71b117
commit
f403c3109f
37 changed files with 1020 additions and 482 deletions
|
@ -7,18 +7,18 @@ export default class LinkDocumentsCollections extends BaseSchema {
|
|||
this.schema.createTable(this.tableName, (table) => {
|
||||
table.integer('collection_id').index('link_documents_collections_collection_id_index').notNullable();
|
||||
table
|
||||
.foreign('collection_id', 'link_documents_collections_collection_id_foreign')
|
||||
.references('id')
|
||||
.inTable('collections')
|
||||
.onDelete('CASCADE') // don't delete this when collection is deleted
|
||||
.onUpdate('CASCADE');
|
||||
.foreign('collection_id', 'link_documents_collections_collection_id_foreign')
|
||||
.references('id')
|
||||
.inTable('collections')
|
||||
.onDelete('CASCADE') // don't delete this when collection is deleted
|
||||
.onUpdate('CASCADE');
|
||||
table.integer('document_id').index('link_documents_collections_document_id_index').notNullable();
|
||||
table
|
||||
.foreign('document_id', 'link_documents_collections_document_id_foreign')
|
||||
.references('id')
|
||||
.inTable('documents')
|
||||
.onDelete('CASCADE') // don't delete this when document is deleted
|
||||
.onUpdate('CASCADE');
|
||||
.foreign('document_id', 'link_documents_collections_document_id_foreign')
|
||||
.references('id')
|
||||
.inTable('documents')
|
||||
.onDelete('CASCADE') // don't delete this when document is deleted
|
||||
.onUpdate('CASCADE');
|
||||
table.primary(['collection_id', 'document_id']);
|
||||
});
|
||||
}
|
||||
|
@ -56,4 +56,4 @@ export default class LinkDocumentsCollections extends BaseSchema {
|
|||
// -- Index: link_documents_collections_document_id_index
|
||||
// -- DROP INDEX IF EXISTS link_documents_collections_document_id_index;
|
||||
// CREATE INDEX IF NOT EXISTS link_documents_collections_document_id_index
|
||||
// ON link_documents_collections USING btree (document_id ASC);
|
||||
// ON link_documents_collections USING btree (document_id ASC);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue