Skip to content

Commit

Permalink
Update outdated alterColumn function call example (kysely-org#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
BSteffaniak authored and Gaspero committed Oct 2, 2023
1 parent 00970bf commit 88e5355
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ export class SchemaModule {
* ```ts
* await db.schema
* .alterTable('person')
* .alterColumn('first_name')
* .setDataType('text')
* .alterColumn('first_name', (ac) => ac.setDataType('text'))
* .execute()
* ```
*/
Expand Down

0 comments on commit 88e5355

Please sign in to comment.