Files
2026-07-13 12:10:05 +08:00

313 B

drizzle-orm-sqlite 0.15.0

  • Add composite PK's on table schema definition

Usage example

const pkExample = sqliteTable('pk_example', {
	id: integer('id'),
	name: text('name').notNull(),
	email: text('email').notNull(),
}, (table) => ({
	compositePk: primaryKey(table.id, table.name)
}));