Apparently, if you CREATE TABLE inside of a transaction, and then
(in the same transaction) do a SELECT on the same table before
committing, the table will not exist yet.
Now we do the migration in two steps: first initialize the schema;
then migrate the data.