mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-29 20:12:28 +03:00
adc1e1a84b
Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
22 lines
447 B
SQL
22 lines
447 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the `Metric` table. If the table is not empty, all the data it contains will be lost.
|
|
|
|
*/
|
|
-- DropTable
|
|
DROP TABLE "Metric";
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "Datum" (
|
|
"id" SERIAL NOT NULL,
|
|
"name" TEXT NOT NULL,
|
|
"value" TEXT NOT NULL,
|
|
"updatedAt" TIMESTAMP(3) NOT NULL,
|
|
|
|
CONSTRAINT "Datum_pkey" PRIMARY KEY ("id")
|
|
);
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "Datum_name_key" ON "Datum"("name");
|