raise migration error in development if pending migrations