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:
13
project/migrations/062_settings_twitter_pinterest.js
Normal file
13
project/migrations/062_settings_twitter_pinterest.js
Normal 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); });
|
||||
Reference in New Issue
Block a user