drizzle-orm-pg
Advanced tools
Comparing version 0.16.0 to 0.16.1-4124cf0
{ | ||
"name": "drizzle-orm-pg", | ||
"version": "0.16.0", | ||
"version": "0.16.1-4124cf0", | ||
"description": "Drizzle ORM package for PostgreSQL database", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -13,6 +13,6 @@ <div align='center'> | ||
| Driver | Support | ๐ | Driver version | | ||
| Driver | Support | | Driver version | | ||
| :- | :-: | :-: | :-: | | ||
| [node-postgres](https://github.com/brianc/node-postgres) | โ | | <img alt='driver version' src='https://img.shields.io/npm/dependency-version/drizzle-orm-pg/peer/pg'> | | ||
| [postgres.js](https://github.com/porsager/postgres) | โ | [Docs](./src/postgres.js/README.md) | <img alt='driver version' src='https://img.shields.io/npm/dependency-version/drizzle-orm-pg/peer/postgres'> | | ||
| [postgres.js](https://github.com/porsager/postgres) | โ | [Docs](/drizzle-orm-pg/src/postgres.js/README.md) | <img alt='driver version' src='https://img.shields.io/npm/dependency-version/drizzle-orm-pg/peer/postgres'> | | ||
| [NeonDB Serverless](https://github.com/neondatabase/serverless) | โ | | <img alt='driver version' src='https://img.shields.io/npm/dependency-version/drizzle-orm-pg/peer/@neondatabase/serverless'> | | ||
@@ -147,3 +147,3 @@ | ||
id: serial('id').primaryKey(), | ||
name: varchar('name', 256), | ||
name: varchar('name', { length: 256 }), | ||
}, (countries) => { | ||
@@ -157,3 +157,3 @@ return { | ||
id: serial('id').primaryKey(), | ||
name: varchar('name', 256), | ||
name: varchar('name', { length: 256 }), | ||
countryId: integer('country_id').references(() => countries.id), | ||
@@ -160,0 +160,0 @@ popularity: popularityEnum('popularity'), |
307239