Added migration for disallowing bot previews
This commit is contained in:
parent
61da5d8110
commit
0a500f16cd
|
@ -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…
Reference in New Issue