diff --git a/packages/catalog-model/src/entity/Entity.ts b/packages/catalog-model/src/entity/Entity.ts index 9e7ece4122..ac43137546 100644 --- a/packages/catalog-model/src/entity/Entity.ts +++ b/packages/catalog-model/src/entity/Entity.ts @@ -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. */ diff --git a/plugins/catalog-backend/migrations/20201019130742_add_relations_table.js b/plugins/catalog-backend/migrations/20201019130742_add_relations_table.js index accf9035e7..70150ff173 100644 --- a/plugins/catalog-backend/migrations/20201019130742_add_relations_table.js +++ b/plugins/catalog-backend/migrations/20201019130742_add_relations_table.js @@ -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()