mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 13:01:59 +03:00
13 lines
359 B
MySQL
13 lines
359 B
MySQL
|
/*
|
||
|
Warnings:
|
||
|
|
||
|
- The primary key for the `snapshots` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||
|
|
||
|
*/
|
||
|
-- DropIndex
|
||
|
DROP INDEX "snapshots_workspace_id_idx";
|
||
|
|
||
|
-- AlterTable
|
||
|
ALTER TABLE "snapshots" DROP CONSTRAINT "snapshots_pkey",
|
||
|
ADD CONSTRAINT "snapshots_pkey" PRIMARY KEY ("guid", "workspace_id");
|