18 lines
816 B
SQL
18 lines
816 B
SQL
/*
|
|
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;
|