Specially treat our special table names

This patch is required because our table names are somewhat unusual,
so we simply hard-code them here. We could be more clean about this,
but it is a migration. Why bother?