From 70c14e0263b2095324605986a2346520b2d939fb Mon Sep 17 00:00:00 2001 From: monoid Date: Sun, 3 Jan 2021 01:36:34 +0900 Subject: [PATCH] change schema --- migrations/initial.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/initial.ts b/migrations/initial.ts index 1040564..eb630d9 100644 --- a/migrations/initial.ts +++ b/migrations/initial.ts @@ -12,7 +12,7 @@ export async function up(knex:Knex) { b.string("content_type",16).notNullable(); b.string("basepath",256).notNullable().comment("directory path for resource"); b.string("filename",256).notNullable().comment("filename"); - b.string("thumbnail").nullable(); + b.string("content_hash").nullable(); b.json("additional").nullable(); b.timestamps(); b.index("content_type","content_type_index");