Added index for url target (to improve performance later on)
This commit is contained in:
		@@ -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();
 | 
			
		||||
  });
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user