-- CreateTable
CREATE TABLE "public"."aliexpress_products" (
    "id" SERIAL NOT NULL,
    "title" TEXT NOT NULL,
    "price" TEXT NOT NULL,
    "sourceUrl" TEXT NOT NULL,
    "imageUrls" JSONB NOT NULL,
    "descriptionImageUrls" JSONB NOT NULL,
    "specifications" JSONB NOT NULL,
    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" TIMESTAMP(3) NOT NULL,

    CONSTRAINT "aliexpress_products_pkey" PRIMARY KEY ("id")
);

-- CreateIndex
CREATE UNIQUE INDEX "aliexpress_products_sourceUrl_key" ON "public"."aliexpress_products"("sourceUrl");
