import { type NessieConfig } from "https://deno.land/x/nessie@2.0.11/types.ts";
Nessie config options.
Properties
Can be any class which extends AbstractClient
.
The folders where migration files are located. Can be a relative path or an absolute path. Defaults to ['./db/migrations/'] if additionalMigrationFiles is not populated
The folders where seed files are located. Can be a relative path or an absolute path. Defaults to ['./db/seeds/'] if additionalSeedFiles is not populated
Additional migration files which will be added to the
list to parse when running the migrate or rollback command.
Can be any format supported by import()
e.g. url or path
Additional seed files which will be added to the list to
match against when running the seed command.
Can be any format supported by import()
e.g. url or path
Custom migration template, can be path or url. When also using the CLI flag --migrationTemplate
, it will have precidence.
Custom seed template, can be path or url. When also using the CLI flag --seedTemplate
, it will have precidence.