amgau
amgau
Explore posts from servers
DTDrizzle Team
Created by amgau on 11/2/2024 in #help
An example from the docs is marked as deprecated.
Hello, I'm using postgres and my pgTable calls are being shown as "deprecated", as well as the example in the docs.
const table = pgTable('table', {
id: integer('id'),
name: text('name'),
}, (t) => ({
unq: unique().on(t.id, t.name),
unq2: unique('custom_name').on(t.id, t.name)
}));
const table = pgTable('table', {
id: integer('id'),
name: text('name'),
}, (t) => ({
unq: unique().on(t.id, t.name),
unq2: unique('custom_name').on(t.id, t.name)
}));
2 replies
HHono
Created by amgau on 8/15/2024 in #help
RPC Type confusion
No description
6 replies
DTDrizzle Team
Created by amgau on 5/15/2024 in #help
Having an issue with sqlite running `drizzle-kit generate`.
Having an issue with sqlite running drizzle-kit generate. I get the following output
drizzle-kit: v0.21.2


Please install latest version of drizzle-orm
drizzle-kit: v0.21.2


Please install latest version of drizzle-orm
Here are my dependencies:
dependencies:
@hono/node-server 1.11.1 hono 4.3.7
@hono/zod-validator 0.2.1 lucia 3.2.0
arctic 1.8.1 oslo 1.2.0
better-sqlite3 10.0.0 prettier 3.2.5
dotenv 16.4.5 zod 3.23.8
drizzle-orm 0.30.10

devDependencies:
@tsconfig/node20 20.1.4
@types/better-sqlite3 7.6.10
@types/node 20.12.12
drizzle-kit 0.21.2
dependencies:
@hono/node-server 1.11.1 hono 4.3.7
@hono/zod-validator 0.2.1 lucia 3.2.0
arctic 1.8.1 oslo 1.2.0
better-sqlite3 10.0.0 prettier 3.2.5
dotenv 16.4.5 zod 3.23.8
drizzle-orm 0.30.10

devDependencies:
@tsconfig/node20 20.1.4
@types/better-sqlite3 7.6.10
@types/node 20.12.12
drizzle-kit 0.21.2
3 replies