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