fixed entityRef bug and added functionality to add community link

Signed-off-by: Lykke Axlin <lykkeaxlin@hotmail.com>

Co-authored-by: klaraab <klarabroman@live.se>
This commit is contained in:
Lykke Axlin
2021-09-20 16:18:07 +02:00
parent 578e5c566a
commit a3ff450a01
10 changed files with 47 additions and 16 deletions
@@ -19,15 +19,18 @@ exports.up = async function setUpTables(knex) {
table.comment('The table of Bazaar metadata');
table.text('name').notNullable().comment('The name of the entity');
table.text('entity_ref').notNullable().comment('The ref of the entity');
table
.text('community')
.comment('Link to where the community can discuss ideas');
table
.text('announcement')
.notNullable()
.comment('The announcement of the bazaar project');
.comment('The announcement of the Bazaar project');
table
.text('status')
.defaultTo('proposed')
.notNullable()
.comment('The status of the bazaar project');
.comment('The status of the Bazaar project');
table
.dateTime('updated_at')
.defaultTo(knex.fn.now())