Skip to content

Commit

Permalink
Merge pull request #22 from narthur/codegen
Browse files Browse the repository at this point in the history
fix model codegen
  • Loading branch information
narthur committed Apr 11, 2024
2 parents 83f40bd + e667383 commit ca2f122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ${foreignTables
})
.join("\n")}
export class ${tableName}Row extends Row<${tableName}RowType> {
export class ${tableName}Row extends Row<${tableName}RowType, Repository> {
protected repository: Repository;
constructor(options: {
tableId: number;
Expand Down

0 comments on commit ca2f122

Please sign in to comment.