Skip to content
Snippets Groups Projects
Commit 0765d208 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

npm install correctly + adjusted .gitignore

parent b8708cef
No related branches found
No related tags found
No related merge requests found
Pipeline #33761 passed
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
/node_modules /node_modules
/.pnp /.pnp
.pnp.js .pnp.js
.pnpm-store/
.pnpm-debug.log
.eslintcache
# testing # testing
/coverage /coverage
...@@ -27,11 +30,18 @@ yarn-error.log* ...@@ -27,11 +30,18 @@ yarn-error.log*
# local env files # local env files
.env .env
.env*.local .env*.local
.env*.development
.env*.production .env*.production
# vercel # vercel
.vercel .vercel
# typescript # typescript
.vscode
*.tsbuildinfo *.tsbuildinfo
next-env.d.ts next-env.d.ts
\ No newline at end of file
# prisma
prisma/migrations
dev.db
dev.db-journal
\ No newline at end of file
This diff is collapsed.
{ {
"name": "project_ss23", "name": "project_ss23_gameunity",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16", "@mui/icons-material": "^5.11.16",
"@mui/material": "^5.13.1", "@mui/material": "^5.13.1",
"@types/node": "20.2.1", "@prisma/client": "^4.14.1",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"eslint": "8.41.0",
"eslint-config-next": "13.4.3",
"next": "13.4.3", "next": "13.4.3",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-infinite-scroll-component": "^6.1.0", "react-infinite-scroll-component": "^6.1.0",
"react-query": "^3.39.3", "react-query": "^3.39.3"
"typescript": "5.0.4"
}, },
"devDependencies": { "devDependencies": {
"prisma": "^4.14.1" "@types/node": "^20.2.1",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"eslint": "^8.41.0",
"eslint-config-next": "^13.4.3",
"typescript": "^5.0.4"
} }
} }
\ No newline at end of file
File deleted
-- CreateTable
CREATE TABLE "Message" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"author" TEXT NOT NULL,
"gameId" TEXT NOT NULL,
"title" TEXT NOT NULL,
"content" TEXT NOT NULL,
"sentAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME
);
-- RedefineTables
PRAGMA foreign_keys=OFF;
CREATE TABLE "new_Message" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"author" TEXT,
"gameId" TEXT,
"title" TEXT,
"content" TEXT NOT NULL,
"sentAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME
);
INSERT INTO "new_Message" ("author", "content", "gameId", "id", "sentAt", "title", "updatedAt") SELECT "author", "content", "gameId", "id", "sentAt", "title", "updatedAt" FROM "Message";
DROP TABLE "Message";
ALTER TABLE "new_Message" RENAME TO "Message";
PRAGMA foreign_key_check;
PRAGMA foreign_keys=ON;
-- RedefineTables
PRAGMA foreign_keys=OFF;
CREATE TABLE "new_Message" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"author" TEXT,
"gameId" TEXT,
"title" TEXT,
"content" TEXT NOT NULL,
"sentAt" DATETIME DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME
);
INSERT INTO "new_Message" ("author", "content", "gameId", "id", "sentAt", "title", "updatedAt") SELECT "author", "content", "gameId", "id", "sentAt", "title", "updatedAt" FROM "Message";
DROP TABLE "Message";
ALTER TABLE "new_Message" RENAME TO "Message";
PRAGMA foreign_key_check;
PRAGMA foreign_keys=ON;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment