Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with build.sql #3

Closed
caicom98 opened this issue Dec 9, 2016 · 1 comment
Closed

issue with build.sql #3

caicom98 opened this issue Dec 9, 2016 · 1 comment

Comments

@caicom98
Copy link

caicom98 commented Dec 9, 2016

Got some error while importing that AUTO_INCREMENT can only be done on keys. I assigned proper primary key to the table.

CREATE TABLE IF NOT EXISTS commands (
ID int(11) NOT NULL PRIMARY KEY,
...
...
ALTER TABLE commands
MODIFY ID int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,AUTO_INCREMENT=149;

@Pizzaface
Copy link
Owner

Fixed! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants