mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
clean-up migrations
This commit is contained in:
parent
9321401297
commit
cfa36d1802
4 changed files with 1 additions and 16 deletions
|
|
@ -15,5 +15,4 @@ DROP INDEX "team_website_user_id_idx";
|
|||
ALTER TABLE "team" DROP COLUMN "user_id";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "team_website" DROP COLUMN "user_id",
|
||||
ADD COLUMN "userId" UUID;
|
||||
ALTER TABLE "team_website" DROP COLUMN "user_id";
|
||||
|
|
@ -1,15 +1,11 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `userId` on the `team_website` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `referrer` on the `website_event` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `url` on the `website_event` table. All the data in the column will be lost.
|
||||
- Added the required column `url_path` to the `website_event` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "team_website" DROP COLUMN "userId";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "website_event" DROP COLUMN "referrer",
|
||||
DROP COLUMN "url",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue