Fixed #21280 -- Don't generate empty migration files