feat(multi-tenant): configurar las 3 empresas oficiales (Telcotronics, XSYSTEM, DOMUS) y selector rapido de entorno
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ const db = require('../config/db');
|
||||
|
||||
const Company = {
|
||||
findAll: async () => {
|
||||
const [rows] = await db.query('SELECT * FROM companies ORDER BY created_at DESC');
|
||||
const [rows] = await db.query('SELECT * FROM companies ORDER BY id ASC');
|
||||
return rows;
|
||||
},
|
||||
findById: async (id) => {
|
||||
|
||||
Reference in New Issue
Block a user