Added migration for disallowing bot previews

This commit is contained in:
Nicolai Ort 2021-09-25 17:16:38 +02:00
parent 61da5d8110
commit 0a500f16cd
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
exports.up = function(knex) {
return knex.schema.table('urls', function (table) {
table.boolean('no_preview').defaultTo(false);
});
};
exports.down = function(knex) {
};