Reorder apps so applications follows containers.
  Otherwise a south migration from a brand new
  postgresql db will fail. 'Applications' depends
  on containers table existing.