added database migrations for tables