Error creating a table: Failed to create table
-
Hello,
I am trying to create a simple table using this plugin, but i am getting a error: “Failed to create table.” Any idea!? Does it requires a special permission?
CREATE TABLE
wp_15324283_tu_home_highlights
(
ID
int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT ‘ID’,
title
varchar(250) NOT NULL,
image_url
varchar(500) NOT NULL,
description
varchar(1000) NOT NULL,
main_highlight
bit(1) NOT NULL DEFAULT ‘0’,
recent_highlight
bit(1) NOT NULL DEFAULT ‘0’,
active
bit(1) NOT NULL DEFAULT ‘0’,
post_date
datetime NOT NULL,
created
datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’ COMMENT ‘Created Date’,
updated
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ‘Updated Date’,
PRIMARY KEY (ID
)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8
COMMENT=’tu_home_highlights’ ;I appreciate your support
Regardshttps://www.ads-software.com/plugins/custom-database-tables/
- The topic ‘Error creating a table: Failed to create table’ is closed to new replies.