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

fix : migrate 제거 후 실행 #49

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading