Added migration for visit counter

This commit is contained in:
Nicolai Ort 2021-08-14 09:06:18 +02:00
parent 1ac700f584
commit 3eda0b0c9c
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.integer('visits');
});
};
exports.down = function (knex) {
};