Generate Orders DB table