added migrations and create db