Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down