Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
32 views

drizzle-kit not using .env.test or .env.development in bun.js

I'm working with bun.js and I'm trying to do bun run drizzle-kit push, bun run drizzle-kit generate, bun run drizzle-kit migrate but no any of these commands works, the drizzle cannot get my ...
Anas's user avatar
  • 1,777
1 vote
0 answers
103 views

Containerized Bun -js backend with express and postgress db both in same docker image is not working properly

I am developing a backend with bun-js with express library and drizzle I have containerized both backend and database (postgres). github-repo but i encounter a problem where the request to the ...
Prajwal Parashkar's user avatar
0 votes
2 answers
895 views

How to wait for DB connection in a Hono/Bun application using Drizzle ORM?

As part of learning Hono and Drizzle, I'm creating a simple Web Server with Bun. // src/index.ts import { Hono } from "hono"; import UserRepo from "./repo/UserRepo"; const app = ...
Ahmed Sadman Muhib's user avatar
5 votes
2 answers
7k views

Drizzle not recognizing defined table

I am just getting started using drizzle and created a simple table in a seperate schema file: import { pgTable, serial, text, varchar } from "drizzle-orm/pg-core"; export const users = ...
CodyCoding's user avatar
1 vote
1 answer
3k views

Getting an error when trying to set up Turso database

I follow this tutorial to set up a web app using Bun, Htmx, Turso and Elysium. The problem is trying to set up the database. I created my account and put the database URL and auth token in .env file, ...
Mozart Maia's user avatar