jmdict: don't store kanji + reading for xrefs
All checks were successful
Build and test / build (push) Successful in 7m0s

This commit is contained in:
2026-04-13 18:33:06 +09:00
parent 4faf543d6e
commit 15540514f6
2 changed files with 2 additions and 14 deletions

View File

@@ -219,8 +219,6 @@ Future<void> seedJMDictData(List<Entry> entries, Database db) async {
b.insert(JMdictTableNames.senseSeeAlso, {
'senseId': s.senseId,
'xrefEntryId': resolvedEntry.entry.entryId,
'seeAlsoKanji': xref.kanjiRef,
'seeAlsoReading': xref.readingRef,
'seeAlsoSense': xref.senseOrderNum != null
? xref.senseOrderNum! - 1
: null,
@@ -248,8 +246,6 @@ Future<void> seedJMDictData(List<Entry> entries, Database db) async {
b.insert(JMdictTableNames.senseAntonyms, {
'senseId': s.senseId,
'xrefEntryId': resolvedEntry.entry.entryId,
'antonymKanji': ant.kanjiRef,
'antonymReading': ant.readingRef,
'antonymSense': ant.senseOrderNum != null
? ant.senseOrderNum! - 1
: null,