Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot Creating User #88
Describe the bug
I was creating user in shell.
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
Version or last commit:
Hmm, yeah I'd say so. @mimikun are you building from source or using the compiled version we release? Maybe
Okay, if it's our release it'll use the embedded schema.sql. So I assume you're upgrading from a previous version? If so, this is similar to #60 and not a bug.
To fix this, you'll have to manually update the database:
ALTER TABLE `users` CHANGE `created` `created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP; ALTER TABLE `accesstokens` CHANGE `created` `created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP;
I think that should cover everything, but let me know if anything still isn't working.