Use only to database tables.

Migrate from using two tables per repo to two tables in total.