change schema
This commit is contained in:
parent
0bd0d3e11b
commit
70c14e0263
@ -12,7 +12,7 @@ export async function up(knex:Knex) {
|
|||||||
b.string("content_type",16).notNullable();
|
b.string("content_type",16).notNullable();
|
||||||
b.string("basepath",256).notNullable().comment("directory path for resource");
|
b.string("basepath",256).notNullable().comment("directory path for resource");
|
||||||
b.string("filename",256).notNullable().comment("filename");
|
b.string("filename",256).notNullable().comment("filename");
|
||||||
b.string("thumbnail").nullable();
|
b.string("content_hash").nullable();
|
||||||
b.json("additional").nullable();
|
b.json("additional").nullable();
|
||||||
b.timestamps();
|
b.timestamps();
|
||||||
b.index("content_type","content_type_index");
|
b.index("content_type","content_type_index");
|
||||||
|
Loading…
Reference in New Issue
Block a user