Initial commit: LACA parking management system
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user