forked from geolba/tethys.backend
- npm updates
- draw bounding box geometry - enter coverage information (elevation and depth)
This commit is contained in:
parent
4abcfe7135
commit
e110826e1a
12 changed files with 929 additions and 576 deletions
|
@ -1,5 +1,4 @@
|
|||
import BaseSchema from '@ioc:Adonis/Lucid/Schema';
|
||||
import { PersonRoles } from 'Contracts/enums';
|
||||
|
||||
export default class LinkDocumentsLicences extends BaseSchema {
|
||||
protected tableName = 'link_documents_licences';
|
||||
|
@ -19,7 +18,7 @@ export default class LinkDocumentsLicences extends BaseSchema {
|
|||
.foreign('document_id', 'link_documents_licences_document_id_foreign')
|
||||
.references('id')
|
||||
.inTable('documents')
|
||||
.onDelete('CASCADE') // delete this when permission is deleted
|
||||
.onDelete('CASCADE') // delete this when document is deleted
|
||||
.onUpdate(' CASCADE');
|
||||
// table.index('licence_id', 'link_documents_licences_document_id_index')
|
||||
table.primary(['licence_id', 'document_id']);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue