不要怂,就是干,撸起袖子干!

Commit 69e27432 by Ricardo Lopes

Test case for the ENUM change

1 parent 936343d4
Showing with 11 additions and 0 deletions
......@@ -200,6 +200,17 @@ describe(Support.getTestDialectTeaser('QueryInterface'), function() {
});
});
it('should work with enums (3)', function() {
return this.queryInterface.createTable('SomeTable', {
someEnum: {
type: DataTypes.ENUM,
values: ['value1', 'value2', 'value3'],
field: "otherName"
}
});
});
it('should work with schemas', function() {
var self = this;
return self.sequelize.dropAllSchemas().then(function() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!