fix pk for path for the stat assets, fix run e2e

Signed-off-by: lpete@vmware.com <lpete@vmware.com>
This commit is contained in:
lpete@vmware.com
2023-08-17 12:47:53 -04:00
parent 9ae110cde3
commit 2a6250bb4e
2 changed files with 21 additions and 21 deletions
@@ -24,12 +24,7 @@ exports.up = async function up(knex) {
table.comment(
'A cache of static assets that where previously deployed and may still be lazy-loaded by clients',
);
table
.uuid('id')
.primary()
.notNullable()
.comment('Auto-generated ID of the asset');
table.text('path', 'text').notNullable().comment('The path of the file');
table.text('path').primary().notNullable().comment('The path of the file');
table
.dateTime('last_modified_at')
.defaultTo(knex.fn.now())