Skip to content

Commit 680eb46

Browse files
fix sqlite created_at column type typo (kysely-org#807)
1 parent e89732a commit 680eb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/docs/getting-started/Summary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const dialectSpecificCodeSnippets: Record<Dialect, string> = {
3333
.addColumn('first_name', 'varchar(255)', (cb) => cb.notNull())
3434
.addColumn('last_name', 'varchar(255)')
3535
.addColumn('gender', 'varchar(50)', (cb) => cb.notNull())
36-
.addColumn('created_at', 'timestampz', (cb) =>
36+
.addColumn('created_at', 'timestamp', (cb) =>
3737
cb.notNull().defaultTo(sql\`current_timestamp\`)
3838
)
3939
.execute()`,

0 commit comments

Comments
 (0)