Use this file to discover all available pages before exploring further.
For migrations to work you need to specify a migration folder in your :
tygress-client.ts
import { PostgresClient } from "tygress";export default new PostgresClient({ databaseUrl: "postgres://username:password@host:5432/database", entities: [Users], // Needed for migrations to work migrationFolders: [path.join(__dirname, "migrations")],});
For the CLI to be able to use the PostgresClient you defined you can pass the path to it using --config ./src/database.ts or put the in tygress-client.ts in your project root.