17 lines
420 B
JavaScript
17 lines
420 B
JavaScript
module.exports = (sequelize, type) => {
|
|
const AdminLogs = sequelize.define('admin_logs', {
|
|
id: {
|
|
type: type.INTEGER,
|
|
primaryKey: true,
|
|
autoIncrement: true
|
|
},
|
|
description: type.TEXT,
|
|
type: type.TEXT,
|
|
type_id: type.INTEGER,
|
|
status: {
|
|
type: type.INTEGER,
|
|
defaultValue: 0
|
|
}
|
|
})
|
|
return AdminLogs;
|
|
} |