Sort steps by junction table's column

This commit is contained in:
Takeshi Kimata
2024-03-09 13:27:52 +09:00
parent 548bc43bea
commit 62df98db89
3 changed files with 37 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ module.exports = {
onUpdate: "CASCADE",
onDelete: "CASCADE",
},
stepNo: {
type: Sequelize.INTEGER,
allowNull: false,
},
createdAt: {
type: Sequelize.DATE,
allowNull: false,