Skip to content

SQL scripts for creating schema #25

Answered by AntonOfTheWoods
vpasechnik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @vpasechnik, the sqllite3 scripts are for creating the export files (which anki needs to download at various points). The mysql (or pgsql) 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 normal django user system, meaning the table that is being complained about. These should get created via the normal manage.py migrate database workflow, which is the same for any backend. I just tested with mysql and everything should get created as normal.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vpasechnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants