Conditional Migration

Added a migration for the conditional tables.