Create migration tables

Now the project has the migration tables so the database is almost
complete.