GuidesRunning Migrations

Running migrations

Migrations will automatically be run when you call sidetrack.start(). The migrations creates a sidetrack_job table in your database, under the sidetrack schema.

If you want to manually run the migrations, call runMigrations with your database connection string.

import {  } from "sidetrack";
 
await (.["DATABASE_URL"]!);