uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
facebook.codeskitter.site
/
nodejs
/
models
/
wo_messages.js
/
/
/* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { const Wo_Messages = sequelize.define('Wo_Messages', { id: { autoIncrement: true, type: DataTypes.INTEGER, allowNull: false, primaryKey: true }, from_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, group_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, page_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, to_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, text: { type: DataTypes.TEXT, allowNull: true }, media: { type: DataTypes.STRING(255), allowNull: false, defaultValue: "" }, mediaFileName: { type: DataTypes.STRING(200), allowNull: false, defaultValue: "" }, mediaFileNames: { type: DataTypes.STRING(200), allowNull: false, defaultValue: "" }, time: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, seen: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, deleted_one: { type: DataTypes.ENUM('0','1'), allowNull: false, defaultValue: "0" }, deleted_two: { type: DataTypes.ENUM('0','1'), allowNull: false, defaultValue: "0" }, sent_push: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, notification_id: { type: DataTypes.STRING(50), allowNull: false, defaultValue: "" }, type_two: { type: DataTypes.STRING(32), allowNull: false, defaultValue: "" }, stickers: { type: DataTypes.TEXT, allowNull: true }, product_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, lat: { type: DataTypes.STRING(200), allowNull: false, defaultValue: "0" }, lng: { type: DataTypes.STRING(200), allowNull: false, defaultValue: "0" }, reply_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 }, story_id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0 } }, { sequelize, timestamps: false, tableName: 'Wo_Messages' }); Wo_Messages.prototype.getChatData = async function(from_id = this.from_id,to_id = this.to_id) { const chatData = await sequelize.models.Wo_UsersChat.findOne({ where: { user_id: from_id, conversation_user_id: to_id } }); return chatData; }; return Wo_Messages; };
/home/users/unlimited/www/facebook.codeskitter.site/nodejs/models/wo_messages.js