Skip to content

Commit

Permalink
Fix DB migration (#1066)
Browse files Browse the repository at this point in the history
Co-authored-by: Douglas Hong <[email protected]>
Co-authored-by: Aponia <[email protected]>
Co-authored-by: Eddy Chen <[email protected]>
Co-authored-by: Isaac Nguyen <[email protected]>
  • Loading branch information
5 people authored Dec 6, 2024
1 parent f2ae21c commit 0f57bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/src/db/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { drizzle } from 'drizzle-orm/postgres-js';
import postgres from 'postgres';

import {backendEnvSchema} from "../env";
import { rdsEnvSchema } from "../env";
import * as schema from './schema/index.js';

const { DB_URL } = backendEnvSchema.parse(process.env);
const { DB_URL } = rdsEnvSchema.parse(process.env);

export const client = postgres(DB_URL);

Expand Down

0 comments on commit 0f57bd6

Please sign in to comment.