Changed database type for order