8 lines
328 B
SQL
8 lines
328 B
SQL
-- CreateTable
|
|
CREATE TABLE "ComicCharacter" (
|
|
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
|
"comicId" INTEGER NOT NULL,
|
|
"shortName" TEXT NOT NULL,
|
|
"longName" TEXT NOT NULL,
|
|
CONSTRAINT "ComicCharacter_comicId_fkey" FOREIGN KEY ("comicId") REFERENCES "Comic" ("id") ON DELETE RESTRICT ON UPDATE CASCADE
|
|
);
|