/*
  Warnings:

  - You are about to drop the column `sb_url` on the `site_blog` table. All the data in the column will be lost.
  - A unique constraint covering the columns `[sb_path]` on the table `site_blog` will be added. If there are existing duplicate values, this will fail.
  - Added the required column `sb_path` to the `site_blog` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE `site_blog` DROP COLUMN `sb_url`,
    ADD COLUMN `sb_path` VARCHAR(255) NOT NULL;

-- CreateIndex
CREATE UNIQUE INDEX `site_blog_sb_path_key` ON `site_blog`(`sb_path`);
