Add prompts table and settings page to create/read/update/delete from it, incorporate company specific prompts into ai validation

This commit is contained in:
2025-03-24 11:30:15 -04:00
parent 7eb4077224
commit dd4b3f7145
10 changed files with 1360 additions and 132 deletions

View File

@@ -1,9 +1,9 @@
const mysql = require('mysql2/promise');
const { Pool } = require('pg');
let pool;
function initPool(config) {
pool = mysql.createPool(config);
pool = new Pool(config);
return pool;
}