mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 06:16:18 +00:00
await
This commit is contained in:
parent
6cfe008b2b
commit
051b2524ab
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const db = drizzle(postgres(process.env.DATABASE_URL!), {
|
|||
|
||||
const aWeekAgo = subDays(new Date(), 5);
|
||||
|
||||
db.execute(sql`
|
||||
await db.execute(sql`
|
||||
insert into productos_descripcion_index
|
||||
select distinct id_producto, productos_descripcion, productos_marca from precios
|
||||
where id_dataset in (
|
||||
|
|
Loading…
Reference in a new issue