Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove deprecated logo/avatar/away fields #14705

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,8 @@
/*
Warnings:

- You are about to drop the column `away` on the `users` table. All the data in the column will be lost.

*/
-- AlterTable
ALTER TABLE "users" DROP COLUMN "away";
@@ -0,0 +1,12 @@
/*
Warnings:

- You are about to drop the column `logo` on the `Team` table. All the data in the column will be lost.
- You are about to drop the column `avatar` on the `users` table. All the data in the column will be lost.

*/
-- AlterTable
ALTER TABLE "Team" DROP COLUMN "logo";

-- AlterTable
ALTER TABLE "users" DROP COLUMN "avatar";
3 changes: 0 additions & 3 deletions packages/prisma/schema.prisma
Expand Up @@ -237,7 +237,6 @@ model User {
emailVerified DateTime?
password UserPassword?
bio String?
avatar String?
avatarUrl String?
timeZone String @default("Europe/London")
travelSchedules TravelSchedule[]
Expand Down Expand Up @@ -275,7 +274,6 @@ model User {
darkBrandColor String?
// the location where the events will end up
destinationCalendar DestinationCalendar?
away Boolean @default(false)
// participate in dynamic group booking or not
allowDynamicBooking Boolean? @default(true)

Expand Down Expand Up @@ -360,7 +358,6 @@ model Team {
name String
/// @zod.min(1)
slug String?
logo String?
logoUrl String?
calVideoLogo String?
appLogo String?
Expand Down