Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"No such table: users" on fresh SQLite instance #59
Describe the bug
When creating a new instance of Writefreely with SQLite backend,
After this error I had to run
When using SQLite backend, schema import should be done automatically, since there's no pre-built database like MySQL
Version or last commit: 0.7.0
Nvm I was mistaken. Looks like if you choose single user mode it does try to insert the user.
So either needs to not do that... or try to do the schema step in addition.
@MasterGroosha Moving account creation to
I guess we have to decide what the
That user-creation step doesn't depend on the database type -- it only happens if you're setting up a single-user instance, like @geekgonecrazy mentioned. If it is single-user, you have to create that first user while setting things up (there's no way to do it via the web). So I think we should make that as easy as possible and automatically include the
We'll keep the