The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Viewing files at commit 77f5465edca6Commit detailsView latest

scripts/migrate-hosted.ts 9 lines · 351 B · typescript
1
import { neon } from '@neondatabase/serverless';
2
import { runHostedMigrations } from '../packages/persistence/src/hosted-migrations.js';
3
4
const databaseUrl = process.env.DATABASE_URL;
5
if (!databaseUrl) throw new Error('DATABASE_URL is required');
6
7
await runHostedMigrations(neon(databaseUrl));
8
9
console.log('Hosted database migrations are current.');