/*
  Warnings:

  - You are about to drop the column `sul_agent` on the `site_user_log` table. All the data in the column will be lost.
  - You are about to drop the column `sul_ip` on the `site_user_log` table. All the data in the column will be lost.
  - You are about to drop the column `sul_status` on the `site_user_log` table. All the data in the column will be lost.

*/
-- AlterTable
ALTER TABLE `site_user_log` DROP COLUMN `sul_agent`,
    DROP COLUMN `sul_ip`,
    DROP COLUMN `sul_status`;

-- CreateTable
CREATE TABLE `site_metadata` (
    `sm_id` INTEGER NOT NULL AUTO_INCREMENT,
    `sm_path` VARCHAR(255) NOT NULL,
    `sm_title` VARCHAR(255) NOT NULL,
    `sm_description` VARCHAR(255) NOT NULL,
    `sm_image` VARCHAR(255) NOT NULL,
    `sm_image_width` INTEGER NULL DEFAULT 0,
    `sm_image_height` INTEGER NULL DEFAULT 0,
    `sm_image_alt` VARCHAR(255) NOT NULL,
    `sm_type` VARCHAR(255) NOT NULL,
    `sm_date` INTEGER NULL DEFAULT 0,

    UNIQUE INDEX `site_metadata_sm_path_key`(`sm_path`),
    PRIMARY KEY (`sm_id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
