[chore] refactor common functions into helper script

This commit is contained in:
2026-03-19 22:18:06 -04:00
parent 023cd87319
commit 171ce294f4
6 changed files with 160 additions and 94 deletions

View File

@@ -97,7 +97,7 @@ export const skus = pokeSchema.table('skus', {
priceCount: integer(),
},
(table) => [
index('idx_product_id_condition').on(table.productId, table.variant),
index('idx_product_id_condition').on(table.productId, table.variant, table.condition),
]);
export const priceHistory = pokeSchema.table('price_history', {