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

Commit e34f1968 by Mick Hansen

mysql unique index test, unable to reproduce #1532, closes #1532

1 parent bc017654
Showing with 5 additions and 0 deletions
...@@ -488,6 +488,11 @@ if (Support.dialectIsMySQL()) { ...@@ -488,6 +488,11 @@ if (Support.dialectIsMySQL()) {
'User', ['username', 'isAdmin'], { parser: 'foo', indicesType: 'FULLTEXT', indexName: 'bar'} 'User', ['username', 'isAdmin'], { parser: 'foo', indicesType: 'FULLTEXT', indexName: 'bar'}
], ],
expectation: "CREATE FULLTEXT INDEX bar ON User (`username`, `isAdmin`) WITH PARSER foo" expectation: "CREATE FULLTEXT INDEX bar ON User (`username`, `isAdmin`) WITH PARSER foo"
}, {
arguments: [
'User', ['username', 'isAdmin'], { indicesType: 'UNIQUE'}
],
expectation: "CREATE UNIQUE INDEX user_username_is_admin ON User (`username`, `isAdmin`)"
} }
], ],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!