Can anyone tell me why PHPMyAdmin throws out the Error #1064?
MySQL Query:
CREATE TABLE posts
( ID not null auto_increment unsigned int,
pType enum('article', 'link') not null,
Title text null,
Link text null,
BodyMD longtext null,
BodyHT longtext not null,
URL tinytext not null,
ShortURL tinytext not null,
status enum('drafted', 'published') not null,
DateEdited timestamp null,
DatePublished timestamp null,
Topic enum('') null,
primary key (ID, URL, ShortURL)
);
You need to specify the column type before constraints and attributes, and the correct type is
int unsigned, notunsigned int: