Skip to content
This repository has been archived by the owner on Feb 1, 2020. It is now read-only.

Syntax errors in setup.sql #3

Open
CharleDarwins opened this issue Nov 18, 2019 · 1 comment
Open

Syntax errors in setup.sql #3

CharleDarwins opened this issue Nov 18, 2019 · 1 comment

Comments

@CharleDarwins
Copy link

Code:

CREATE TABLE IF NOT EXISTS `levels` (
  `guild` VARCHAR(18) NOT NULL,
  `user` VARCHAR(18) NOT NULL,
  `exp` BIGINT NULL,
  PRIMARY KEY (`guild`, `user`))

Errors:

Incorrect syntax near 'IF'.  Expecting '.', ID, or QUOTED_ID.
An expression of non-boolean type specified in a context where a condition is expected.
Incorrect syntax near '`'.  Expecting '('.
Incorrect syntax near 'levels'.
Incorrect syntax near '`'.  Expecting '(', or SELECT.
Incorrect syntax near '18'.  Expecting '(', or SELECT.
Incorrect syntax near '18'.  Expecting '(', or SELECT.
Incorrect syntax near '`'.  Expecting '(', or SELECT.
@AtryFox
Copy link
Owner

AtryFox commented Nov 21, 2019

Can not reproduce.

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

No branches or pull requests

2 participants