Initial commit: LACA parking management system

This commit is contained in:
2025-08-13 10:05:36 +07:00
commit 8b07467b61
275 changed files with 66828 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/*
Warnings:
- Added the required column `contact` to the `Booking` table without a default value. This is not possible if the table is not empty.
- Added the required column `license_plates` to the `Booking` table without a default value. This is not possible if the table is not empty.
- Added the required column `owner` to the `Booking` table without a default value. This is not possible if the table is not empty.
- Made the column `end_at` on table `Booking` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterEnum
ALTER TYPE "BookingStatus" ADD VALUE 'out';
-- AlterTable
ALTER TABLE "Booking" ADD COLUMN "contact" TEXT NOT NULL,
ADD COLUMN "license_plates" TEXT NOT NULL,
ADD COLUMN "owner" TEXT NOT NULL,
ALTER COLUMN "end_at" SET NOT NULL;