Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
chore: prisma migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
iamwookie committed Jul 13, 2023
1 parent f1ad693 commit 6b37d9e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 33 deletions.
53 changes: 26 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "wookie",
"license": "ISC",
"dependencies": {
"@prisma/client": "^4.16.1",
"@prisma/client": "^5.0.0",
"@sentry/cli": "^2.19.4",
"@sentry/integrations": "^7.39.0",
"@sentry/node": "^7.39.0",
Expand All @@ -26,9 +26,9 @@
"chalk": "^5.2.0",
"discord.js": "^14.11.0",
"dotenv": "^16.0.3",
"express": "^4.18.1",
"express-rate-limit": "^6.5.1",
"genius-lyrics": "^4.3.5",
"express": "^4.18.2",
"express-rate-limit": "^6.7.1",
"genius-lyrics": "^4.4.3",
"helmet": "^5.1.1",
"morgan": "^1.10.0",
"redis": "^4.0.2",
Expand All @@ -38,7 +38,7 @@
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
"prisma": "^4.16.1",
"prisma": "^5.0.0",
"tsc-alias": "^1.8.5",
"typescript": "^4.9.5"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `prefix` on the `Guild` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Guild" DROP COLUMN "prefix";
2 changes: 1 addition & 1 deletion src/commands/music/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class VolumeCommand extends Command {

const res = await this.client.prisma.guild.upsert({
where: {
guildId: int.guildId!,
guildId: int.guildId,
},
update: {
music: {
Expand Down

0 comments on commit 6b37d9e

Please sign in to comment.