Add beer post, brewery post GET service and page

Add prettier, eslint config
This commit is contained in:
Aaron William Po
2023-01-22 20:56:33 -05:00
parent a434e1bb98
commit 0065525f5c
29 changed files with 8696 additions and 6977 deletions

View File

@@ -0,0 +1,18 @@
/*
Warnings:
- Added the required column `description` to the `BeerPost` table without a default value. This is not possible if the table is not empty.
- Added the required column `description` to the `BreweryPost` table without a default value. This is not possible if the table is not empty.
- Added the required column `dateOfBirth` to the `User` table without a default value. This is not possible if the table is not empty.
- Added the required column `username` to the `User` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "BeerPost" ADD COLUMN "description" TEXT NOT NULL;
-- AlterTable
ALTER TABLE "BreweryPost" ADD COLUMN "description" TEXT NOT NULL;
-- AlterTable
ALTER TABLE "User" ADD COLUMN "dateOfBirth" TIMESTAMP(3) NOT NULL,
ADD COLUMN "username" TEXT NOT NULL;