Skip to content

Commit

Permalink
cambios
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMendozaPrado committed May 5, 2024
1 parent aeee720 commit 236d4fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions db/drizzle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
require("dotenv").config();
// Importaciones
import { Resource } from "sst";
//import { drizzle } from "drizzle-orm/aws-data-api/pg";
import { drizzle } from "drizzle-orm/aws-data-api/pg";
import { migrate } from "drizzle-orm/aws-data-api/pg/migrator";
import { RDSDataClient } from "@aws-sdk/client-rds-data";
import { fromIni } from "@aws-sdk/credential-providers";
import { drizzle } from "drizzle-orm/vercel-postgres";

// Obtener el perfil de AWS desde las variables de entorno o usar 'default'
const awsProfile = process.env.AWS_PROFILE || "default";
Expand Down

0 comments on commit 236d4fc

Please sign in to comment.