You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- You are about to drop the column `user_id` on the `user_agreement` table. All the data in the column will be lost.
5
+
- The primary key for the `user_categories` table will be changed. If it partially fails, the table could be left without primary key constraint.
6
+
- You are about to drop the column `user_id` on the `user_categories` table. All the data in the column will be lost.
7
+
- A unique constraint covering the columns `[account_id,agreement_id]` on the table `user_agreement` will be added. If there are existing duplicate values, this will fail.
8
+
- Added the required column `account_id` to the `user_agreement` table without a default value. This is not possible if the table is not empty.
9
+
- Added the required column `account_id` to the `user_categories` table without a default value. This is not possible if the table is not empty.
10
+
11
+
*/
12
+
-- DropForeignKey
13
+
ALTERTABLE`user_agreement` DROP FOREIGN KEY`user_agreement_user_id_fkey`;
14
+
15
+
-- DropForeignKey
16
+
ALTERTABLE`user_categories` DROP FOREIGN KEY`user_categories_user_id_fkey`;
- A unique constraint covering the columns `[account_id]` on the table `artists` will be added. If there are existing duplicate values, this will fail.
5
+
- A unique constraint covering the columns `[account_id]` on the table `users` will be added. If there are existing duplicate values, this will fail.
6
+
7
+
*/
8
+
-- CreateIndex
9
+
CREATEUNIQUE INDEX `artists_account_id_key` ON`artists`(`account_id`);
10
+
11
+
-- CreateIndex
12
+
CREATEUNIQUE INDEX `users_account_id_key` ON`users`(`account_id`);
- You are about to drop the column `user_id` on the `follows` table. All the data in the column will be lost.
5
+
- A unique constraint covering the columns `[account_id,artist_id]` on the table `follows` will be added. If there are existing duplicate values, this will fail.
6
+
- Added the required column `account_id` to the `follows` table without a default value. This is not possible if the table is not empty.
7
+
8
+
*/
9
+
-- DropForeignKey
10
+
ALTERTABLE`follows` DROP FOREIGN KEY`follows_user_id_fkey`;
0 commit comments