Added migration for visit counter
This commit is contained in:
parent
1ac700f584
commit
3eda0b0c9c
|
@ -0,0 +1,10 @@
|
|||
|
||||
exports.up = function (knex) {
|
||||
return knex.schema.table('urls', function (table) {
|
||||
table.integer('visits');
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = function (knex) {
|
||||
|
||||
};
|
Loading…
Reference in New Issue