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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user