Add influence rework, image checkup, debug mode, and fetched paintings.

Support artist and movement influence links with web discovery, a developer checkup table with gallery/detail thumbnails, and debug image search with fix-it workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-06-20 10:29:43 +03:00
co-authored by Cursor
parent 0ece1195fa
commit bf7db9b25e
246 changed files with 2429 additions and 301 deletions
+18
View File
@@ -0,0 +1,18 @@
require('dotenv').config();
const fs = require('fs');
const path = require('path');
const pool = require('../server/db');
async function main() {
const sqlPath = path.join(__dirname, '../db/migrate-influence-sources.sql');
const sql = fs.readFileSync(sqlPath, 'utf8');
await pool.query(sql);
const { rows } = await pool.query('SELECT COUNT(*)::int AS n FROM painting_influence_sources');
console.log(`painting_influence_sources ready (${rows[0].n} rows)`);
await pool.end();
}
main().catch((err) => {
console.error(err);
process.exit(1);
});