9 lines
328 B
MySQL
9 lines
328 B
MySQL
|
-- 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
|
||
|
);
|