const migrationClient = postgres("postgresql://jer:admin@localhost:5432/test", { max: 1 })
async function main() {
console.log('postgres migration started...')
await migrate(drizzle(migrationClient), {
migrationsFolder: path.resolve('drizzel')
})
console.log('postgres migration ended...')
}
const migrationClient = postgres("postgresql://jer:admin@localhost:5432/test", { max: 1 })
async function main() {
console.log('postgres migration started...')
await migrate(drizzle(migrationClient), {
migrationsFolder: path.resolve('drizzel')
})
console.log('postgres migration ended...')
}