22 lines
513 B
SQL
22 lines
513 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the `BrandDna` table. If the table is not empty, all the data it contains will be lost.
|
|
|
|
*/
|
|
-- DropTable
|
|
PRAGMA foreign_keys=off;
|
|
DROP TABLE "BrandDna";
|
|
PRAGMA foreign_keys=on;
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "BrandProfile" (
|
|
"id" TEXT NOT NULL PRIMARY KEY,
|
|
"name" TEXT NOT NULL,
|
|
"referencePaths" TEXT NOT NULL,
|
|
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
);
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "BrandProfile_name_key" ON "BrandProfile"("name");
|