jadb/migrations/0006_JMdict_KanjiElement__K...

7 lines
345 B
MySQL
Raw Permalink Normal View History

2024-11-17 12:27:46 +01:00
CREATE TABLE "JMdict_KanjiElement__KANJIDIC_Character__XREF"(
"entryId" INTEGER NOT NULL,
"reading" TEXT NOT NULL,
"kanji" CHAR(1) NOT NULL REFERENCES "KANJIDIC_Character"("literal"),
PRIMARY KEY ("entryId", "reading", "kanji"),
FOREIGN KEY ("entryId", "reading") REFERENCES "JMdict_KanjiElement"("entryId", "reading")
) WITHOUT ROWID;