Página 1 de 1

[Dica] BD Jasmine em MySQL mais atuais

Enviado: 09 Jun 2014 11:32
por marceloleaes
Precisei ajustar o script SQL do Jasmine para rodar no MySQL 5.5 , o script que acompanha o Jasmine apresenta erro de syntax e não importa.

Criei o banco jasmine e após rode a seguinte consulta:

Código: Selecionar todos

CREATE TABLE IF NOT EXISTS `jobs_log` (
  `id` mediumint(9) NOT NULL AUTO_INCREMENT,
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `job_id` tinytext NOT NULL,
  `printer` tinytext NOT NULL,
  `user` tinytext NOT NULL,
  `server` tinytext NOT NULL,
  `title` tinytext NOT NULL,
  `copies` smallint(6) NOT NULL DEFAULT '0',
  `pages` smallint(6) NOT NULL DEFAULT '0',
  `options` tinytext NOT NULL,
  `doc` tinytext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ;