Database and migrations

It is done!