feat(seed): add MacroeconomicData and InfrastructureProject seed data
Add seed-macro-infra.ts with 144 macroeconomic data points (HCMC + Hanoi, 6 indicators, quarterly 2023-2025) and 15 infrastructure projects with PostGIS coordinates (Metro Line 1, Thu Duc Innovation District, Ring Road 3, Long Thanh Airport, Can Gio Bridge, etc.). Integrated into main seed pipeline. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -36,7 +36,9 @@ import {
|
||||
import bcrypt from 'bcrypt';
|
||||
import pg from 'pg';
|
||||
import { importMarketData } from '../scripts/import-market-data';
|
||||
import { seedIndustrialListings } from '../scripts/seed-industrial-listings';
|
||||
import { seedIndustrialParks } from '../scripts/seed-industrial-parks';
|
||||
import { seedMacroAndInfra } from '../scripts/seed-macro-infra';
|
||||
import { seedPlans } from '../scripts/seed-plans';
|
||||
import { seedPOIs } from '../scripts/seed-pois';
|
||||
|
||||
@@ -753,7 +755,15 @@ async function main() {
|
||||
await seedIndustrialParks();
|
||||
console.log('');
|
||||
|
||||
// Phase 12 — Market Data
|
||||
// Phase 11b — Industrial Listings
|
||||
await seedIndustrialListings();
|
||||
console.log('');
|
||||
|
||||
// Phase 12 — Macroeconomic Data & Infrastructure Projects
|
||||
await seedMacroAndInfra(prisma);
|
||||
console.log('');
|
||||
|
||||
// Phase 13 — Market Data
|
||||
await importMarketData();
|
||||
|
||||
console.log('\n' + '━'.repeat(60));
|
||||
@@ -780,7 +790,9 @@ async function main() {
|
||||
console.log(' Saved Searches: 4');
|
||||
console.log(' Notifications: 10 + 6 prefs');
|
||||
console.log(' Audit Logs: 5');
|
||||
console.log(' Industrial: 20 parks');
|
||||
console.log(' Industrial: 20 parks + 12 listings');
|
||||
console.log(' Macro Data: 144 data points (HCMC + Hanoi, quarterly)');
|
||||
console.log(' Infra Projects: 15 (metro, highway, airport, bridge, port)');
|
||||
console.log(' Market Index: ~240 records');
|
||||
console.log('\n🔐 Admin Login:');
|
||||
console.log(' Phone: 0876677771');
|
||||
|
||||
Reference in New Issue
Block a user