add database migrations and models