0
To nie jest błąd

COMMENT for MySql does not work.

William Bell 7 lat temu Ostatnio zmodyfikowane przez Rafał Strzaliński (Senior Engineer) 7 lat temu 2

-- Created by Vertabelo (http://vertabelo.com)
-- Last modification date: 2017-08-08 16:35:22.471
-- tables
-- Table: ContentType
CREATE TABLE ContentType (
ContentTypeID int(11) UNSIGNED NOT NULL,
Name varchar(255) NOT NULL,
CONSTRAINT Type _pk PRIMARY KEY (ContentTypeID)
) COMMENT 'Page and content is this for. Story.';

-- End of file.


This is erroring!! 

To nie jest błąd

Hi,


That comment is fine. You've added primary key name that contains a space character: "Type _pk". It raises an error.