Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 6, 2024
1 parent 8858a87 commit dbcb9a7
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 523 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v24.0.1

- :bug: Add enableRLS type

### v24.0.0

- :arrow_up: Update Drizzle to latest version
Expand Down
3 changes: 2 additions & 1 deletion generic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export type GenericStreamInput = {
where?: SQL<unknown>;
}

type GenericTable = Table<TableConfig<Column<ColumnBaseConfig<ColumnDataType, string>, object, object>>>;
type GenericTable = Table<TableConfig<Column<ColumnBaseConfig<ColumnDataType, string>, object, object>>>
& { enableRLS: () => Omit<PgTableWithColumns<any>, "enableRLS">; };

export class GenericEmitter<T extends GenericTable> extends EventEmitter {
pool: PostgresJsDatabase<any>;
Expand Down
Loading

0 comments on commit dbcb9a7

Please sign in to comment.