Migrations enabled

Fixed bugs and misspells to create database