feat: AI context, Webhooks, Kanban drag-drop, and UI fixes

This commit is contained in:
2026-04-29 17:43:18 +05:00
parent 89b3340253
commit bc2f99408d
29 changed files with 991 additions and 52 deletions
+19
View File
@@ -0,0 +1,19 @@
const { Pool } = require('pg');
async function createUser() {
const pool = new Pool({ connectionString: 'postgresql://postgres:postgres@localhost:5432/xflow' });
try {
await pool.query(`
INSERT INTO "User" (id, username, email, password, role, "updatedAt")
VALUES ('almalexyz', 'almalexyz', 'almalexyz@gmail.com', 'none', 'admin', NOW())
ON CONFLICT DO NOTHING
`);
await pool.query(`
INSERT INTO "Profile" (id, "userId", "displayName", "updatedAt")
VALUES ('almalexyz-profile', 'almalexyz', 'Alexander', NOW())
ON CONFLICT DO NOTHING
`);
console.log('User created!');
} catch(e) { console.error(e) }
process.exit(0);
}
createUser();