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

Commit 4994997d by tngraessler

Now using correct function parameters

1 parent 953d2047
Showing with 1 additions and 1 deletions
......@@ -115,7 +115,7 @@ if (Support.dialectIsMySQL()) {
expectation: "CREATE TABLE IF NOT EXISTS `myTable` (`title` VARCHAR(255), `name` VARCHAR(255), `otherId` INTEGER, FOREIGN KEY (`otherId`) REFERENCES `otherTable` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION) ENGINE=InnoDB;"
},
{
arguments: ['myTable', {title: { type: 'VARCHAR(255)', unique: 'title_name' }, name: { type: 'VARCHAR(255)', unique: 'title_name' }}],
arguments: ['myTable', {title: 'VARCHAR(255)', name: 'VARCHAR(255)'}, {uniqueKeys: ['title', 'name']}],
expectation: "CREATE TABLE IF NOT EXISTS `myTable` (`title` VARCHAR(255), `name` VARCHAR(255), UNIQUE uniq_myTable_title_name (`title`, `name`)) ENGINE=InnoDB;"
}
],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!