mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-29 01:41:16 +00:00
12 lines
428 B
MySQL
12 lines
428 B
MySQL
|
/*
|
||
|
Warnings:
|
||
|
|
||
|
- The primary key for the `KweekLike` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||
|
- You are about to drop the column `id` on the `KweekLike` table. All the data in the column will be lost.
|
||
|
|
||
|
*/
|
||
|
-- AlterTable
|
||
|
ALTER TABLE "KweekLike" DROP CONSTRAINT "KweekLike_pkey",
|
||
|
DROP COLUMN "id",
|
||
|
ADD CONSTRAINT "KweekLike_pkey" PRIMARY KEY ("kweekId", "userId");
|