Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/note.picotech.app/public_html/src/models/ drwxr-xr-x | |
| Viewing file: Select action/file-type: const { DataTypes } = require('sequelize');
const { sequelize } = require('../config/database');
const DataDeletionRequest = sequelize.define('DataDeletionRequest', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true,
},
name: {
type: DataTypes.STRING,
allowNull: false,
},
email: {
type: DataTypes.STRING,
allowNull: false,
validate: {
isEmail: true,
},
},
reason: {
type: DataTypes.TEXT,
allowNull: false,
},
status: {
type: DataTypes.ENUM('pending', 'processed', 'rejected'),
defaultValue: 'pending',
},
created_at: {
type: DataTypes.DATE,
defaultValue: DataTypes.NOW,
},
processed_at: {
type: DataTypes.DATE,
allowNull: true,
},
}, {
tableName: 'data_deletion_requests',
timestamps: false,
});
module.exports = DataDeletionRequest; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0041 ]-- |