database elsa changes

This commit is contained in:
WorldTeacher
2024-06-26 16:33:31 +02:00
parent d03bc0c18f
commit 8590517399
2 changed files with 29 additions and 3 deletions

View File

@@ -99,6 +99,10 @@ CREATE_ELSA_MEDIA_TABLE = """CREATE TABLE elsa_media (
title TEXT NOT NULL,
signature TEXT NOT NULL,
pages TEXT NOT NULL,
text_author TEXT,
book_author TEXT NOT NULL,
type TEXT NOT NULL,
elsa_id INTEGER NOT NULL,
data TEXT NOT NULL,
FOREIGN KEY (elsa_id) REFERENCES elsa (id)
)"""