Ghost

phantomknight287/aero

public
Fork0
CodeIssues0Pull requests1
4branches
aeroapiprismamigrations20251107092517_connect_flight_to_user_modelmigration.sql
change UI of flight stats425c112a year ago5 lines · 226 B
1-- AlterTable
2ALTER TABLE "flight" ADD COLUMN
3
4-- AddForeignKey
5ALTER TABLE "flight" ADD
"
userId
"
TEXT
;
CONSTRAINT
"
flight_userId_fkey
"
FOREIGN KEY
(
"
userId
"
)
REFERENCES
"
users
"
(
"
id
"
)
ON DELETE
SET
NULL
ON UPDATE CASCADE
;