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
sqllite3scripts 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.djankiservdoes, however, use the normaldjangouser system, meaning the table that is being complained about. These should get created via the normalmanage.py migratedatabase workflow, which is the same for any backend. I just tested withmysqland everything should get created as normal.