CREATE TABLE `logs` (
	`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
	`level` VARCHAR(50) NOT NULL,
	`message` TEXT NOT NULL,
	`context` LONGTEXT NOT NULL,
	`datetime` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
	PRIMARY KEY (`id`)
);
CREATE TABLE `logs` (
	`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
	`level` VARCHAR(50) NOT NULL,
	`message` TEXT NOT NULL,
	`context` LONGTEXT NOT NULL,
	`datetime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
	PRIMARY KEY (`id`)
);
Support for MySQL 5.5 and lower
Support for MySQL 5.5 and lower
