feat: add inventoryId to SalesInvoice and related models; implement createOrder functionality in POS service
This commit is contained in:
@@ -18,6 +18,8 @@ async function main() {
|
||||
console.log('📌 Fetching triggers...')
|
||||
const [triggers] = (await conn.execute('SHOW TRIGGERS')) as [Array<any>, any]
|
||||
|
||||
console.log(triggers.length)
|
||||
|
||||
if (triggers.length === 0) {
|
||||
console.log('⚠️ No triggers found in the database.')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user