Added primitive thumbnailer.
This commit is contained in:
@@ -115,6 +115,10 @@ export async function up(knex) {
|
||||
.references('id')
|
||||
.inTable('users');
|
||||
|
||||
table.text('thumbnail')
|
||||
.notNullable()
|
||||
.default(false);
|
||||
|
||||
table.datetime('created_at')
|
||||
.notNullable()
|
||||
.defaultTo(knex.fn.now());
|
||||
@@ -205,6 +209,7 @@ export async function down(knex) {
|
||||
await knex.schema.dropTableIfExists('posts_votes');
|
||||
await knex.schema.dropTableIfExists('posts');
|
||||
await knex.schema.dropTableIfExists('shelves_settings');
|
||||
await knex.schema.dropTableIfExists('shelves_subscriptions');
|
||||
await knex.schema.dropTableIfExists('shelves');
|
||||
await knex.schema.dropTableIfExists('users');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user