CREATE TABLE active_virus (
ID int(11) NOT NULL,
virusID int(11) NOT NULL COMMENT 'softwareID',
started timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'DATE',
collected timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'DATE',
serverID int(11) NOT NULL,
ownerID int(11) NOT NULL,
version float NOT NULL,
type text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
I make this and now its working:
CREATE TABLE active_virus (
ID int(11) NOT NULL,
virusID int(11) NOT NULL COMMENT 'softwareID',
started timestamp NOT NULL,
collected timestamp NOT NULL,
serverID int(11) NOT NULL,
ownerID int(11) NOT NULL,
version float NOT NULL,
type text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE
active_virus
(ID
int(11) NOT NULL,virusID
int(11) NOT NULL COMMENT 'softwareID',started
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'DATE',collected
timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'DATE',serverID
int(11) NOT NULL,ownerID
int(11) NOT NULL,version
float NOT NULL,type
text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1;I make this and now its working:
CREATE TABLE
active_virus
(ID
int(11) NOT NULL,virusID
int(11) NOT NULL COMMENT 'softwareID',started
timestamp NOT NULL,collected
timestamp NOT NULL,serverID
int(11) NOT NULL,ownerID
int(11) NOT NULL,version
float NOT NULL,type
text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1;