ERROR: null value in column "currency" of relation "orders" violates not-null constraint DETAIL: Failing row contains (1026856, 3, 2500, null).