bs3m
Version:
TS/JS migrations framework for sqlite3 databases
12 lines • 401 B
JavaScript
/** Migration interface definitions. */
/**
* Type helper function for creating strongly-typed migrations. Provides type
* safety for database keys and removes need to specify generics.
*
* @param m - Migration object to type-check and return.
* @returns The same migration object with enhanced type safety.
*/
export function migration(m) {
return m;
}
//# sourceMappingURL=migration.js.map