Error in CREATE TABLE del (
num int(11) NOT NULL AUTO_INCREMENT,
id varchar(11) DEFAULT NULL,
user_id varchar(15) DEFAULT NULL,
message_id varchar(20) DEFAULT NULL,
timeDel int(20) DEFAULT 0,
PRIMARY KEY (num),
INDEX (user_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
:
Error in
CREATE TABLE file (
num int(11) NOT NULL AUTO_INCREMENT,
id varchar(20) DEFAULT NULL,
type varchar(50) DEFAULT 'none',
file_id varchar(255) DEFAULT NULL,
caption TEXT DEFAULT NULL,
password varchar(255) DEFAULT NULL,
user_id varchar(20) DEFAULT NULL,
file_size bigint(20) DEFAULT 0,
downloads int(11) DEFAULT 0,
date DATETIME DEFAULT CURRENT_TIMESTAMP,
time DATETIME DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (num),
INDEX (user_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
:
Error in
CREATE TABLE send (
step varchar(50) NOT NULL,
text TEXT NOT NULL,
from varchar(20) NOT NULL DEFAULT '0',
user int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
:
Error in
CREATE TABLE settings (
id int(11) NOT NULL AUTO_INCREMENT,
type varchar(50) NOT NULL,
type_id varchar(50) NOT NULL,
columnOne TEXT DEFAULT NULL,
columnTwo TEXT DEFAULT NULL,
PRIMARY KEY (id),
INDEX (type, type_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
:
Error in
CREATE TABLE user (
id int(11) NOT NULL AUTO_INCREMENT,
from_id varchar(20) NOT NULL,
step varchar(50) DEFAULT 'none',
downloads int(20) DEFAULT 0,
getFile varchar(255) DEFAULT 'none',
status varchar(40) DEFAULT 'active',
update_at int(20) DEFAULT NULL,
create_at int(20) DEFAULT NULL,
PRIMARY KEY (id),
UNIQUE KEY from_id (from_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;: