- Add backend stale process monitoring API (/api/stale-processes) - Add users management route - Add frontend landing page and stale process monitor UI on /scraper-tools - Move old development scripts to backend/archive/ - Update frontend build with new features 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
377 B
TypeScript
18 lines
377 B
TypeScript
import { pool } from './src/db/migrate';
|
|
|
|
async function checkTable() {
|
|
const result = await pool.query(`
|
|
SELECT column_name, data_type, is_nullable
|
|
FROM information_schema.columns
|
|
WHERE table_name = 'brands'
|
|
ORDER BY ordinal_position
|
|
`);
|
|
|
|
console.log('Brands table structure:');
|
|
console.table(result.rows);
|
|
|
|
await pool.end();
|
|
}
|
|
|
|
checkTable();
|