nessie.config.ts (409B)
1 import { 2 ClientPostgreSQL, 3 NessieConfig, 4 } from "https://deno.land/x/nessie@2.0.11/mod.ts"; 5 6 /** Select one of the supported clients */ 7 const client = new ClientPostgreSQL(); 8 9 /** This is the final config object */ 10 const config: NessieConfig = { 11 client, 12 migrationFolders: ["./src/infrastructure/postgres/migrations"], 13 seedFolders: ["./src/infrastructure/postgres/seeds"], 14 }; 15 16 export default config;