UNPKG

515 BJavaScriptView Raw
1"use strict";
2
3module.exports = function(sequelize, DataTypes) {
4 var LogReportDownload = sequelize.define("LogReportDownload", {
5 id: {
6 type: DataTypes.BIGINT(20),
7 allowNull: false,
8 autoIncrement: true,
9 primaryKey: true
10 },
11 package_id : DataTypes.INTEGER(10),
12 client_unique_id : DataTypes.STRING,
13 created_at: DataTypes.DATE,
14 }, {
15 tableName: 'log_report_download',
16 underscored: true,
17 updatedAt: false,
18 paranoid: true
19 });
20 return LogReportDownload;
21};