chore: align infrastructure with server

This commit is contained in:
2026-05-02 17:20:14 +05:00
parent e8c924f63a
commit 73c323685f
36 changed files with 785 additions and 540 deletions
+13
View File
@@ -0,0 +1,13 @@
const { Pool } = require('pg');
async function test() {
try {
const pool = new Pool({ connectionString: `postgresql://postgres:postgres@localhost:5432/postgres` });
await pool.query('CREATE DATABASE "xflow"');
console.log('✅ SUCCESS created xflow');
process.exit(0);
} catch(e) {
console.log('❌ failed:', e.message);
process.exit(1);
}
}
test();