Added index for url target (to improve performance later on)
This commit is contained in:
parent
3eda0b0c9c
commit
6680ce7e50
|
@ -9,7 +9,7 @@ exports.up = function(knex) {
|
|||
})
|
||||
.createTable('urls', function(table){
|
||||
table.string('shortcode').primary();
|
||||
table.string('target');
|
||||
table.string('target').index();
|
||||
table.timestamps();
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue