Skip to content

Commit

Permalink
docs: fix table examples (#299)
Browse files Browse the repository at this point in the history
Co-authored-by: Dominic Bauer <[email protected]>
  • Loading branch information
DominicGBauer and Dominic Bauer authored Sep 10, 2024
1 parent a8bb3d9 commit 2bb6bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/src/db/schema/Table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export class Table<Columns extends ColumnsType = ColumnsType> {
* @param {TableV2Options} [v2Options] - Optional configuration options for V2 syntax
*
* @example
* <caption>New constructor example</caption>
* ```javascript
* // New Constructor
* const table = new Table(
* {
* name: column.text,
Expand All @@ -101,8 +101,8 @@ export class Table<Columns extends ColumnsType = ColumnsType> {
*
*
* @example
* <caption>Deprecated constructor example</caption>
* ```javascript
* // Deprecated Constructor
* const table = new Table({
* name: 'users',
* columns: [
Expand Down

0 comments on commit 2bb6bce

Please sign in to comment.