synced db and migrated to create tables