Skip to main content

SQLPathConfig

Result of inferring SQL paths from a source file or directory.

See

inferSQLPaths

Properties

dataSourcePath

dataSourcePath: string;

migrationsDirectoryPath

migrationsDirectoryPath: string;

The path to the migrations directory.


outputDirectoryPath

outputDirectoryPath: string;

The path to the output directory where the SQL file will be written.


sourceFilePath

sourceFilePath: string;

The path to the source file, i.e. a CSV file containing the data.


tableName

tableName: string;

The name of the table to be created from the source file.