Page 409 - MDP2022-2
P. 409

"eslint-plugin-prettier":  "^4.0.0",
                    "jest":  "28.1.2",
                    "prettier":  "^2.3.2",
                    "prisma":  "^4.3.0",
                    "source-map-support":  "^0.5.20",
                    "supertest":  "^6.1.3",
                    "ts-jest":  "28.0.5",
                    "ts-loader":  "^9.2.3",
                    "ts-node":  "^10.0.0",
                    "tsconfig-paths":  "4.0.0",
                    "typescript":  "^4.3.5"
                },
                "jest":  {
                    "moduleFileExtensions":  [
                        "js",
                        "json",
                        "ts"
                    ],
                    "rootDir":  "src",
                    "testRegex":  ".*\\.spec\\.ts$",
                    "transform":  {
                        "^.+\\.(t|j)s$":  "ts-jest"
                    },
                    "collectCoverageFrom":  [
                        "**/*.(t|j)s"
                    ],
                    "coverageDirectory":  "../coverage",
                    "testEnvironment":  "node"
                }
            }


            sql
            --  CreateTable
            CREATE  TABLE  `User`  (
                    `id`  INTEGER  NOT  NULL  AUTO_INCREMENT,
                    `userId`  VARCHAR(191)  NOT  NULL,
                    `name`  VARCHAR(191)  NOT  NULL,
                    `email`  VARCHAR(191)  NOT  NULL,
                    `password`  VARCHAR(191)  NOT  NULL,
                    `createdAt`  DATETIME(3)  NOT  NULL  DEFAULT  CURRENT_TIMESTAMP(3),
                    `updatedAt`  DATETIME(3)  NOT  NULL,


                    PRIMARY  KEY  (`id`)
            )  DEFAULT  CHARACTER  SET  utf8mb4  COLLATE  utf8mb4_unicode_ci;
   404   405   406   407   408   409   410   411   412   413   414