fix(admin): trend chart height 100px, logs 3-column layout, KPI cards clickable links, AI timeout 120s env var, X/Pinterest settings

This commit is contained in:
chattie
2026-08-24 22:09:12 +02:00
parent 30f0cb0702
commit 2ed2ac8cd1
11 changed files with 105 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
/**
* Add twitter_url and pinterest_url columns to store_settings table.
* Usage: node --env-file=.env -e "require('./migrations/062_settings_twitter_pinterest.js')"
*/
import { query } from '../src/infrastructure/db/migrate.js';
async function migrate() {
await query(`ALTER TABLE store_settings ADD COLUMN IF NOT EXISTS twitter_url TEXT`);
await query(`ALTER TABLE store_settings ADD COLUMN IF NOT EXISTS pinterest_url TEXT`);
console.log('✓ Added twitter_url and pinterest_url to store_settings');
}
migrate().catch(e => { console.error(e); process.exit(1); });