muse/migrations/20220128003935_make_favorite_query_name_unqiue/migration.sql

9 lines
262 B
MySQL
Raw Normal View History

2022-01-28 03:26:00 +01:00
/*
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");