muse/migrations/20220128003935_make_favorite_query_name_unqiue/migration.sql

9 lines
262 B
MySQL
Raw Normal View History

/*
Warnings:
- A unique constraint covering the columns `[name]` on the table `FavoriteQuery` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "FavoriteQuery_name_key" ON "FavoriteQuery"("name");