Added migration for disallowing bot previews
This commit is contained in:
parent
61da5d8110
commit
0a500f16cd
10
migrations/20210925171533_bot_preview.js
Normal file
10
migrations/20210925171533_bot_preview.js
Normal 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) {
|
||||
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user