Add JoFotara linking modal and fix company limit

This commit is contained in:
Hamza-Ayed
2026-04-18 00:47:37 +03:00
parent ce7b1fc5d8
commit 77434fa815
3 changed files with 113 additions and 13 deletions

12
fix-limit.js Normal file
View File

@@ -0,0 +1,12 @@
const { Pool } = require('pg');
const pool = new Pool({
user: 'postgres',
host: '127.0.0.1',
database: 'musadaq',
password: 'postgres_password',
port: 5432,
});
pool.query("UPDATE subscriptions SET max_companies = -1", (err, res) => {
console.log(err ? err : "Updated successfully!");
pool.end();
});