Large set of changes - building the GUI for the data tracking app.
This commit is contained in:
@@ -23,11 +23,6 @@ module.exports = {
|
||||
type: DataTypes.DECIMAL(9,2),
|
||||
allowNull: false
|
||||
},
|
||||
visible: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
allowNull: false,
|
||||
defaultValue: true
|
||||
},
|
||||
subcategoryId: {
|
||||
type: Sequelize.INTEGER,
|
||||
references: {
|
||||
@@ -44,9 +39,15 @@ module.exports = {
|
||||
updatedAt: {
|
||||
type: DataTypes.DATE,
|
||||
allowNull: false
|
||||
},
|
||||
deletedAt: {
|
||||
type: DataTypes.DATE,
|
||||
allowNull: true
|
||||
}
|
||||
}, {
|
||||
charset: 'utf8'
|
||||
charset: 'utf8',
|
||||
timestamps: true,
|
||||
paranoid: true
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user