Initial commit - Dutchie dispensary scraper

This commit is contained in:
Kelly
2025-11-28 19:45:44 -07:00
commit 5757a8e9bd
23375 changed files with 3788799 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { pool } from './src/db/migrate';
async function verify() {
try {
const result = await pool.query(`
SELECT id, name, slug
FROM categories
WHERE store_id = 18
ORDER BY id
`);
console.log(`Found ${result.rows.length} categories for store 18:`);
result.rows.forEach(cat => {
console.log(` ${cat.id}: ${cat.name} (${cat.slug})`);
});
await pool.end();
} catch (error) {
console.error('Error:', error);
process.exit(1);
}
}
verify();