drizzle-orm-pg
Advanced tools
Comparing version 0.16.1-b4b5a09 to 0.16.1-b9e9ba0
@@ -23,3 +23,2 @@ export * from './bigint'; | ||
export * from './varchar'; | ||
export * from './custom'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -40,3 +40,2 @@ "use strict"; | ||
__exportStar(require("./varchar"), exports); | ||
__exportStar(require("./custom"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "drizzle-orm-pg", | ||
"version": "0.16.1-b4b5a09", | ||
"version": "0.16.1-b9e9ba0", | ||
"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'), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
307239
214
3755