implement user handling for trips

This commit is contained in:
2023-08-29 21:34:00 +02:00
parent ef4ef00d2c
commit be9be4c9da
28 changed files with 445 additions and 202 deletions

View File

@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "INSERT INTO\n trips_to_trips_types (trip_id, trip_type_id)\n SELECT trips.id as trip_id, trips_types.id as trip_type_id\n FROM trips\n INNER JOIN trips_types\n WHERE\n trips.id = ?\n AND trips.user_id = ?\n AND trips_types.id = ?\n AND trips_types.user_id = ?",
"describe": {
"columns": [],
"parameters": {
"Right": 4
},
"nullable": []
},
"hash": "5b1ddabd48e5407dae74a2f01eb2dbc3712ac4c2dcf48b90b6ec4ee8900ec2ef"
}