db migration

This commit is contained in:
PxlLoewe
2025-07-14 14:43:14 -07:00
parent 9f8ebd0dbb
commit 5c334cde63

View File

@@ -0,0 +1,13 @@
/*
Warnings:
- The `country` column on the `Heliport` table would be dropped and recreated. This will lead to data loss if there is data in the column.
- Added the required column `altAGL` to the `PositionLog` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Heliport" DROP COLUMN "country",
ADD COLUMN "country" TEXT;
-- AlterTable
ALTER TABLE "PositionLog" ADD COLUMN "altAGL" INTEGER NOT NULL;