Closed bulolo closed 3 years ago
@PrimaryGeneratedColumn({ type: "bigint", name: "id", comment: "id" }) id: string;
Generating number would not be a correct behavior here. Sql Bigint type support larger numbers then JS Number type. If you use JS Number type you can loose your data without noticing it(no overflow errors).