Interface: MigrationParams
August 10, 2020 · View on GitHub
sqlite › Globals › "src/interfaces" › IMigrate › MigrationParams
Interface: MigrationParams
Hierarchy
- MigrationParams
Index
Properties
Properties
Optional force
• force? : boolean
Defined in src/interfaces.ts:87
If true, will force the migration API to rollback and re-apply the latest migration over again each time when Node.js app launches.
Optional migrationsPath
• migrationsPath? : string
Defined in src/interfaces.ts:95
Path to the migrations folder. Default is path.join(process.cwd(), 'migrations')
Optional table
• table? : string
Defined in src/interfaces.ts:91
Migrations table name. Default is 'migrations'