Files
musadeq/fix-limit.js
2026-04-18 00:47:37 +03:00

13 lines
315 B
JavaScript

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();
});