CREATE TABLE IF NOT EXISTS `%prefix%rows_history` (
  `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` INT(11) UNSIGNED NOT NULL,
  `table_id` INT(11) UNSIGNED NOT NULL,
  `data` MEDIUMTEXT NOT NULL,
  `created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
)
  DEFAULT CHARSET=utf8
;