👔 feat: add banner priority ordering logic
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 1m48s
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 1m48s
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `order` on the `hero_banner` table. All the data in the column will be lost.
|
||||
- A unique constraint covering the columns `[orderPriority]` on the table `hero_banner` will be added. If there are existing duplicate values, this will fail.
|
||||
|
||||
*/
|
||||
-- DropIndex
|
||||
DROP INDEX "hero_banner_order_key";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "hero_banner" DROP COLUMN "order",
|
||||
ADD COLUMN "orderPriority" INTEGER;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "hero_banner_orderPriority_key" ON "hero_banner"("orderPriority");
|
||||
Reference in New Issue
Block a user