Querying DB returning same row for two different userIds
hasVoterVoted is returning true AND getUsersVote is returning the vote of the other user. I logged out user.userId and they are different in each call... So why would drizzle/supabase be returning the exact same information for two different userId? My guess is due to the eq(model.userId, user.userId) && eq(model.year, year) && eq(model.week, week) because if I remove the check for year and week in the hasVoterVoted, it returns false for the user who has not voted....Array of Objects
nesting db calls in transactions without using the callback argument
How to add a new column to an existing table
supabase/migrations folder and then running the generate and migrate scripts... 😬 I feel like that is a bad thing (maybe not?)... Since I am just testing and none of th...
mysql 5.7 support?
TypeError: Cannot read properties of undefined (reading 'columns') - SQLite TursoDB
project@0.1.0 db:push C:\Users\migue\project dotenv drizzle-kit push...
__old_push table
pnpm drizzle-kit push:sqlite to push some schema changes to my turso db. I basically added a single column to a table with a  default value. I then removed the column and pushed again. Now I have a new column __old_push and it seems I'm stuck in an intermediate state. Is there a fix for this?...Drizzle with self hosted supabase not working
Create a view with Drizzle
D1 Failing Migraton on Prod
snapshots from v6 to v7
Error in DB update because of Date
birthDate is not a Date because it cannot run the .toISOString() method on it. But I'm sure this is not the case.... I really don't know what is going on.
birthDate: timestamp("birth_date", { mode: "date" }),...
How to do an UPDATE with a JOIN in Drizzle ORM?
users.subscriptionId is a certain string or in a set of string values ....disable drizzle date conversion to local

How to dynamically set a row value using data from a JS object? (onConflictDoUpdate)
data array's object
- If it exists: Update the price column - The issue is I'm not sure how to set a row to the relevant object in my data array
```js...Does Drizzle support using INSERT statements in a WITH clause?
``typescript
const query = await db.execute(sql
  WITH "new_thread" AS (
    INSERT INTO...drizzle-kit defineConfig no "pg" driver available.
Multiple files schemas with query to Access data
Migrations taking the first snapshot

NeonDbError: Error connecting to database: fetch failed