catalog-backend: review fixups from #2970

Co-authored-by: blam <ben@blam.sh>
This commit is contained in:
Patrik Oldsberg
2020-10-21 14:15:27 +02:00
parent 27f87526c0
commit a7478736bd
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -143,13 +143,14 @@ export type EntityRelation = {
};
/**
* Holds the relationship data for entities
* Holds the relation data for entities.
*/
export type EntityRelationSpec = {
/**
* The source entity of this relation.
*/
source: EntityName;
/**
* The type of the relation.
*/
@@ -28,7 +28,7 @@ exports.up = async function up(knex) {
.inTable('entities')
.onDelete('CASCADE')
.notNullable()
.comment('The originating entity of the relation');
.comment('The entity that provided the relation');
table
.string('source_full_name')
.notNullable()