text: SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  START TRANSACTION;
  SET time_zone = "+00:00";
  
  CREATE TABLE IF NOT EXISTS `logs` (
    `id` int (11) NOT NULL AUTO_INCREMENT,
    `user_id` int (11),
    `type` varchar(255) NOT NULL,
    `table` varchar(255) NOT NULL,
    `ressource_id` int (11),
    `content` json,
    `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (`id`),
    FOREIGN KEY (`user_id`) REFERENCES users(id) ON DELETE CASCADE
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
  
  COMMIT;
  