blob: 743376dc771a9ff535f2c83ee70c8e6918e92978 (
plain) (
tree)
|
|
const Sequelize = require("sequelize"); // from npm registry
module.exports = {
fields: {
accountId: {
type: Sequelize.INTEGER.UNSIGNED,
allowNull: false,
primaryKey: true,
},
vaultId: {
type: Sequelize.INTEGER.UNSIGNED,
allowNull: false,
},
},
options: {
indexes: [
{
fields: ["vault_id"], // BUG: {underscored: true} does not work on indexes
},
]
}
};
|