factories table exists
fixed up tab migration a bit