SQL scripts for creating schema #25
-
Hi,
and as I see my djankiserv database is empty. I see only sqlite scripts in git, and they do not have auth_user table. Where I can get proper sql scripts for djankiserv? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @vpasechnik, the
|
Beta Was this translation helpful? Give feedback.
Hi @vpasechnik, the
sqllite3
scripts are for creating the export files (which anki needs to download at various points). Themysql
(orpgsql
) tables are created via code. Have a look at https://github.com/ankicommunity/djankiserv/blob/master/src/djankiserv/unki/database.py for more detail.djankiserv
does, however, use the normaldjango
user system, meaning the table that is being complained about. These should get created via the normalmanage.py migrate
database workflow, which is the same for any backend. I just tested withmysql
and everything should get created as normal.