prevent locking upload response; show processing status on upload screen

This commit is contained in:
Bilal Catic
2019-07-25 14:40:33 +02:00
parent 7f3030960e
commit 8053093c0a
13 changed files with 312 additions and 86 deletions

View File

@@ -0,0 +1,26 @@
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('processings', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: Sequelize.INTEGER
},
processing: Sequelize.BOOLEAN,
createdAt: {
allowNull: false,
type: Sequelize.DATE
},
updatedAt: {
allowNull: false,
type: Sequelize.DATE
}
});
},
down: (queryInterface, Sequelize) => {
return queryInterface.dropTable('processings');
}
};