fixing amount for each separate organization

This commit is contained in:
Arjun Patel
2019-03-06 02:34:46 -08:00
parent fad664e04e
commit bc0e2bd0fd
6 changed files with 56 additions and 21 deletions
+14
View File
@@ -0,0 +1,14 @@
module.exports = (sequelize, DataTypes) => {
const GrantsOrganizations = sequelize.define('grants_organizations', {
id: {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true
},
amount: {
type: DataTypes.INTEGER,
allowNull: false
}
});
return GrantsOrganizations;
};
@@ -4,8 +4,7 @@ module.exports = (sequelize, DataTypes) => {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true
},
}
});
return OrgBank;
};