The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import { addColumnIfMissing } from '../migration-utils';
import { Migration } from '@mikro-orm/migrations';
/**
* Legacy migration step 184 (`db/migrations.ts`).
*
* Manual GPX track colour (#776): imported tracks all render in the same blue
* because the importer never assigns a category, so several walks in the same
* area are indistinguishable. NULL keeps the old behaviour (category colour,
* then the #3b82f6 fallback) for every existing row.
*/
export class Migration20200101030400_manual_gpx_track_colour extends Migration {
override name = 'Migration20200101030400_manual_gpx_track_colour';
override async up(): Promise<void> {
await addColumnIfMissing(this, 'places', 'route_color', `route_color TEXT`);
}
}