fix issues in database

Ticket

+tags
+commit