Unexpected Symbol 'NONE' Archive Engine
Posted: Mon 21 Nov 2016 16:04
I am trying to create an archive table in MariaDB using dbForge and I'm getting the following error when I save the table.
Also, the 'ARCHIVE' engine doesn't appear in the engine list by default, but I have created the table through entity framework and it has set the engine type to 'ARCHIVE'
Thanks.
dbForge automatically changes the following line from:Unexpected Symbol 'NONE'
PRIMARY KEY (ArchiveSupplierID)
Below is my table definitionPRIMARY KEY USING NONE (ArchiveSupplierID)
Code: Select all
CREATE TABLE supplierarchives (
ArchiveSupplierID INT(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY USING NONE (ArchiveSupplierID)
)
ENGINE = ARCHIVE
AUTO_INCREMENT = 31888
AVG_ROW_LENGTH = 148
CHARACTER SET utf8
COLLATE utf8_general_ci;
Thanks.