diff --git a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-neon.mdx b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-neon.mdx index 3e5c0553..a1f852f0 100644 --- a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-neon.mdx +++ b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-neon.mdx @@ -109,11 +109,8 @@ export type SelectPost = typeof postsTable.$inferSelect; Create a `drizzle.config.ts` file in the root of your project and add the following content: ```typescript copy filename="drizzle.config.ts" -import { config } from 'dotenv'; import { defineConfig } from "drizzle-kit"; -config({ path: '.env' }); - export default defineConfig({ schema: "./src/schema.ts", out: "./migrations", diff --git a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-supabase.mdx b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-supabase.mdx index ca068b7a..565b6680 100644 --- a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-supabase.mdx +++ b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-supabase.mdx @@ -108,11 +108,8 @@ export type SelectPost = typeof postsTable.$inferSelect; Create a `drizzle.config.ts` file in the root of your project and add the following content: ```typescript copy filename="drizzle.config.ts" -import { config } from 'dotenv'; import { defineConfig } from 'drizzle-kit'; -config({ path: '.env' }); - export default defineConfig({ schema: './src/db/schema.ts', out: './supabase/migrations', diff --git a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-turso.mdx b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-turso.mdx index 5701f55c..2bb81471 100644 --- a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-turso.mdx +++ b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-turso.mdx @@ -144,11 +144,8 @@ export type SelectPost = typeof postsTable.$inferSelect; Create a `drizzle.config.ts` file in the root of your project and add the following content: ```typescript copy filename="drizzle.config.ts" -import { config } from 'dotenv'; import { defineConfig } from 'drizzle-kit'; -config({ path: '.env' }); - export default defineConfig({ schema: './src/db/schema.ts', out: './migrations', diff --git a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-vercel.mdx b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-vercel.mdx index 7a534f7e..cfa64f9b 100644 --- a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-vercel.mdx +++ b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-vercel.mdx @@ -106,11 +106,8 @@ export type SelectPost = typeof postsTable.$inferSelect; Create a `drizzle.config.ts` file in the root of your project and add the following content: ```typescript copy filename="drizzle.config.ts" -import { config } from 'dotenv'; import { defineConfig } from 'drizzle-kit'; -config({ path: '.env.local' }); - export default defineConfig({ schema: './src/db/schema.ts', out: './migrations', diff --git a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-xata.mdx b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-xata.mdx index 55011b6a..42482e7c 100644 --- a/src/content/docs/tutorials/drizzle-with-db/drizzle-with-xata.mdx +++ b/src/content/docs/tutorials/drizzle-with-db/drizzle-with-xata.mdx @@ -125,11 +125,8 @@ export type SelectPost = typeof postsTable.$inferSelect; Create a `drizzle.config.ts` file in the root of your project and add the following content: ```typescript copy filename="drizzle.config.ts" -import { config } from 'dotenv'; import { defineConfig } from 'drizzle-kit'; -config({ path: '.env' }); - export default defineConfig({ schema: './src/db/schema.ts', out: './migrations', diff --git a/src/content/docs/tutorials/drizzle-with-frameworks/drizzle-nextjs-neon.mdx b/src/content/docs/tutorials/drizzle-with-frameworks/drizzle-nextjs-neon.mdx index 87899960..183df6d4 100644 --- a/src/content/docs/tutorials/drizzle-with-frameworks/drizzle-nextjs-neon.mdx +++ b/src/content/docs/tutorials/drizzle-with-frameworks/drizzle-nextjs-neon.mdx @@ -102,11 +102,8 @@ Here we define the **`todo`** table with fields **`id`**, **`text`**, and **`don Create a `drizzle.config.ts` file in the root of your project and add the following content: ```typescript copy filename="drizzle.config.ts" -import { config } from 'dotenv'; import { defineConfig } from "drizzle-kit"; -config({ path: '.env' }); - export default defineConfig({ schema: "./src/db/schema.ts", out: "./migrations",