Vollstaendige Next.js/Prisma-E-Commerce-Anwendung fuer eine Imkerei: Shop, Warenkorb, Stripe-Checkout, Kundenkonto mit 2FA, Admin-Bereich (Produkte, Ernten, Chargen, Bestellungen, Gutscheine, admin-editierbare Website-Inhalte), i18n (DE/EN), Rate-Limiting/CSP/Audit-Log-Haertung, PostgreSQL- und MySQL-Unterstuetzung ueber austauschbare Prisma- Treiber-Adapter, Unit-/Komponenten-/E2E-Tests.
13 lines
334 B
SQL
13 lines
334 B
SQL
-- CreateTable
|
|
CREATE TABLE "shipping_tiers" (
|
|
"id" TEXT NOT NULL,
|
|
"minQuantity" INTEGER NOT NULL,
|
|
"maxQuantity" INTEGER,
|
|
"priceCents" INTEGER NOT NULL,
|
|
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
"updatedAt" TIMESTAMP(3) NOT NULL,
|
|
|
|
CONSTRAINT "shipping_tiers_pkey" PRIMARY KEY ("id")
|
|
);
|
|
|