Skip to content

Commit

Permalink
Attempt fix for CjS77#3
Browse files Browse the repository at this point in the history
  • Loading branch information
sudsy committed Sep 11, 2018
1 parent fa17bcb commit 96c11e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/book.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Op = Sequelize.Op;
* A Book contains many journal entries
*/
const Book = sequelize.define('book', {
name: {type: Sequelize.TEXT, unique: true},
name: {type: Sequelize.STRING, unique: true},
quoteCurrency: {type: Sequelize.STRING, defaultValue: 'USD'}
});

Expand Down

0 comments on commit 96c11e0

Please sign in to comment.