Templates table migration.