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

Commit 76568950 by Pedro Augusto de Paula Barbosa Committed by GitHub

test(dropEnum): minor refactor (#13084)

1 parent 801caa36
...@@ -19,18 +19,9 @@ describe(Support.getTestDialectTeaser('QueryInterface'), () => { ...@@ -19,18 +19,9 @@ describe(Support.getTestDialectTeaser('QueryInterface'), () => {
describe('dropEnum', () => { describe('dropEnum', () => {
beforeEach(async function() { beforeEach(async function() {
await this.queryInterface.createTable('menus', { await this.queryInterface.createTable('menus', {
structuretype: { structuretype: DataTypes.ENUM('menus', 'submenu', 'routine'),
type: DataTypes.ENUM('menus', 'submenu', 'routine'), sequence: DataTypes.INTEGER,
allowNull: true name: DataTypes.STRING
},
sequence: {
type: DataTypes.INTEGER,
allowNull: true
},
name: {
type: DataTypes.STRING,
allowNull: true
}
}); });
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!