Updated structure of the database

The table transactions has been repaired