mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
Added state monitor to wwebjs
This commit is contained in:
11
backend/models/Whatsapp.js
Normal file
11
backend/models/Whatsapp.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const Sequelize = require("sequelize");
|
||||
|
||||
const sequelize = require("../util/database");
|
||||
|
||||
const Whatsapp = sequelize.define("whatsapp", {
|
||||
session: { type: Sequelize.TEXT() },
|
||||
qrcode: { type: Sequelize.TEXT() },
|
||||
status: { type: Sequelize.STRING(20) },
|
||||
});
|
||||
|
||||
module.exports = Whatsapp;
|
||||
Reference in New Issue
Block a user