Servesh
Servesh
DTDrizzle Team
Created by Saifur on 6/6/2024 in #help
NeonDbError: Error connecting to database
could u share your drizzle config? also try to log the values of the env variables to see if they're set correctly..
4 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
The reply I referred to uses @vercel/postgres . Do u know if anything that needs to be taken care of
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
Yeah Next.js seems to be the cause. I missed the earlier reply to the supabase query of this discussion https://github.com/vercel/next.js/discussions/50177
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
Can u share me your github username so I can give u a shoutout
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
Not as I know of, just created a project in supabase and was playing with the setup. How can I check that?
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
This totally worked. Thank u so much @Mykhailo . Wow, the config was hard. Can you please tell how did u know to use this driver
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
No description
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
No description
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
No description
15 replies
DTDrizzle Team
Created by Servesh on 5/29/2024 in #help
Unable to run drizzle query for supabase
Not aware of those, first time using Supabase..
15 replies
DTDrizzle Team
Created by Mark_who? on 5/25/2024 in #help
```
Please update how Next 15 behaves when u can
3 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
Thank you so much, you guys are awesome
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
Yeah it was, already suspected it
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
@Mykhailo could we add this to the official docs please
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
Okay, so I updated my drizzle config to this and now it's working fine!
import { config } from 'dotenv'
import { defineConfig } from 'drizzle-kit'

config({ path: '.env.local' })

export default defineConfig({
schema: './db/schema.ts',
out: './supabase/migrations',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
verbose: true,
})
import { config } from 'dotenv'
import { defineConfig } from 'drizzle-kit'

config({ path: '.env.local' })

export default defineConfig({
schema: './db/schema.ts',
out: './supabase/migrations',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
verbose: true,
})
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
Thanks for your time and interest
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
running npx drizzle-kit migrate. My db url is in .env.local
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
Using this drizzle config
import 'dotenv/config'
import { defineConfig } from 'drizzle-kit'

export default defineConfig({
schema: './db/schema.ts',
out: './supabase/migrations',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
})
import 'dotenv/config'
import { defineConfig } from 'drizzle-kit'

export default defineConfig({
schema: './db/schema.ts',
out: './supabase/migrations',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
})
15 replies
DTDrizzle Team
Created by Servesh on 5/24/2024 in #help
Unable to setup supabase with drizzle
process exit with error code 1
15 replies