Skip to content

Commit

Permalink
Adding TODO for when identity is in core
Browse files Browse the repository at this point in the history
  • Loading branch information
gittgott committed Oct 7, 2023
1 parent 284f114 commit 71edc02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/docs/getting-started/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const dialectSpecificCodeSnippets: Record<Dialect, string> = {
cb.notNull().defaultTo(sql\`current_timestamp\`)
)
.execute()`,
// TODO: Update line 42's IDENTITY once identity(1,1) is added to core.
mssql: ` await db.schema.createTable('person')
.addColumn('id', 'integer', (cb) => cb.primaryKey().modifyEnd(sql\`IDENTITY(1,1)\`))
.addColumn('first_name', 'varchar(255)', (cb) => cb.notNull())
Expand Down

0 comments on commit 71edc02

Please sign in to comment.