allow longer URLs to be registered in software-catalog
Signed-off-by: Kashish Mittal <kmittal@redhat.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Change `locations` table's `target` column to text
|
||||
Change `refresh-keys` table's `key` column to text
|
||||
@@ -36,7 +36,7 @@ exports.up = async function up(knex) {
|
||||
.comment('Auto-generated ID of the location');
|
||||
table.string('type').notNullable().comment('The type of location');
|
||||
table
|
||||
.string('target')
|
||||
.text('target')
|
||||
.notNullable()
|
||||
.comment('The actual target of the location');
|
||||
})
|
||||
|
||||
@@ -32,7 +32,7 @@ exports.up = async function up(knex) {
|
||||
.onDelete('CASCADE')
|
||||
.comment('A reference to the entity that the refresh key is tied to');
|
||||
table
|
||||
.string('key')
|
||||
.text('key')
|
||||
.notNullable()
|
||||
.comment(
|
||||
'A reference to a key which should be used to trigger a refresh on this entity',
|
||||
|
||||
Reference in New Issue
Block a user