chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# drizzle-orm-sqlite 0.15.0
|
||||
|
||||
- Add composite PK's on table schema definition
|
||||
|
||||
#### Usage example
|
||||
```typescript
|
||||
const pkExample = sqliteTable('pk_example', {
|
||||
id: integer('id'),
|
||||
name: text('name').notNull(),
|
||||
email: text('email').notNull(),
|
||||
}, (table) => ({
|
||||
compositePk: primaryKey(table.id, table.name)
|
||||
}));
|
||||
```
|
||||
Reference in New Issue
Block a user