-- CreateTable
CREATE TABLE `site_blog` (
    `sb_id` INTEGER NOT NULL AUTO_INCREMENT,
    `sb_sbt_id` INTEGER NULL DEFAULT 0,
    `sb_title` VARCHAR(255) NOT NULL,
    `sb_content` TEXT NOT NULL,
    `sb_url` VARCHAR(255) NOT NULL,
    `sb_status` INTEGER NULL DEFAULT 0,
    `sb_date` INTEGER NULL DEFAULT 0,

    PRIMARY KEY (`sb_id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- CreateTable
CREATE TABLE `site_blog_type` (
    `sbt_id` INTEGER NOT NULL AUTO_INCREMENT,
    `sbt_title` VARCHAR(255) NOT NULL,

    PRIMARY KEY (`sbt_id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
