Removed activities table; this will be handled after users are implemented
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Gregory Ballantine
2024-05-21 09:35:39 -04:00
parent 8119f49b4d
commit 82c2b91090
5 changed files with 0 additions and 89 deletions

View File

@ -1,30 +0,0 @@
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('activities', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: Sequelize.INTEGER
},
user: {
type: Sequelize.STRING,
allowNull: false,
},
action: {
type: Sequelize.STRING,
allowNull: false,
},
itemId: {
type: Sequelize.NUMBER,
allowNull: false,
},
createdAt: Sequelize.DataTypes.DATE,
updatedAt: Sequelize.DataTypes.DATE,
});
},
down: (queryInterface, Sequelize) => {
return queryInterface.dropTable('activities');
}
};