CREATE TABLE IF NOT EXISTS 'users'(
'id' INT(10) NOT NULL AUTO_INCREMENT,
'username' VARCHAR(70) NOT NULL,
'password' VARCHAR(40) NOT NULL,
'email' VARCHAR(50) NOT NULL,
'created_at' DATETIME NOT NULL,
'updated_at' DATETIME DEFAULT NULL,
PRIMARY KEY('id'),
UNIQUE KEY 'email'('email')
) ENGINE = InnoDB DEFAULT CHARSET = latin1 AUTO_INCREMENT = 1;
Error : A symbol name was expected! (near "'id'" at position 39) At least one column definition was expected. (near "'id'" at position 39) Unexpected beginning of statement. (near "10" at position 48) Unrecognized statement type. (near "NOT NULL" at position 52)