Added some queries for changing db structure.