Skip to content

Commit

Permalink
Merge pull request #49 from Codeit-part4-team3/feat-진석
Browse files Browse the repository at this point in the history
fix : migrate 제거 후 실행
  • Loading branch information
SiWooJinSeok authored Apr 25, 2024
2 parents d891ed5 + a7f4315 commit 72d5788
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 25 deletions.
9 changes: 0 additions & 9 deletions prisma/migrations/20240412104045_/migration.sql

This file was deleted.

8 changes: 0 additions & 8 deletions prisma/migrations/20240415035637_/migration.sql

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/*
Warnings:
- You are about to drop the column `state` on the `user` table. All the data in the column will be lost.
-- CreateTable
CREATE TABLE `User` (
`id` INTEGER NOT NULL AUTO_INCREMENT,
`email` VARCHAR(191) NOT NULL,
`nickname` VARCHAR(191) NOT NULL,

*/
-- AlterTable
ALTER TABLE `user` DROP COLUMN `state`;
UNIQUE INDEX `User_email_key`(`email`),
PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- CreateTable
CREATE TABLE `FriendList` (
Expand Down
2 changes: 1 addition & 1 deletion src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
@Controller('/user')
export class AppController {
constructor(private readonly appService: AppService) {}

Expand Down

0 comments on commit 72d5788

Please sign in to comment.