Scaffolds. Add migrations to fix legacy table names and add timestamps.