Problème dans une création de tables
Bonjour à tous,
j'ai un petit soucis je n'arrive pas crée une table sur mariaDB voici la table en question :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| CREATE TABLE 'natu_catalog_product_index_eav_decimal_replica' (
'entity_id' int(10) unsigned NOT NULL COMMENT 'Entity ID',
'attribute_id' smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
'store_id' smallint(5) unsigned NOT NULL COMMENT 'Store ID',
'value' decimal(12,4) NOT NULL COMMENT 'Value',
'source_id' int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Original entity Id for attribute
value',
PRIMARY KEY ('entity_id','attribute_id','store_id','value','source_id'),
KEY 'NATU_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_ATTRIBUTE_ID' ('attribute_id'),
KEY 'NATU_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_STORE_ID' ('store_id'),
KEY 'NATU_CATALOG_PRODUCT_INDEX_EAV_DECIMAL_VALUE' ('value')
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product EAV Decimal Index Table'; |
et voici l'erreur :
Code:
1 2 3
| You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version
for the right syntax to use near ''natu_catalog_product_index_eav_decimal_replica' (
'entity_id' int(10) unsigne' at line 1 |