check for resource table to avoid migration error