feat: AI context, Webhooks, Kanban drag-drop, and UI fixes
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user