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