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

Commit 81319d76 by Mick Hansen

fix: dont run removeColumn tests for sqlite

1 parent 130cd9a0
Showing with 8 additions and 5 deletions
......@@ -7,16 +7,19 @@ var Support = require(__dirname + '/../support')
// Notice: [] will be replaced by dialect specific tick/quote character when there is not dialect specific expectation but only a default expectation
suite(Support.getTestDialectTeaser('SQL'), function() {
if (current.dialect.name !== 'sqlite') {
suite(Support.getTestDialectTeaser('SQL'), function() {
suite('removeColumn', function () {
test('schema', function () {
expectsql(sql.removeColumnQuery({
schema: 'archive',
tableName: 'user'
}, 'email'), {
default: 'ALTER TABLE [archive].[user] DROP COLUMN [email];',
mysql: 'ALTER TABLE `archive.user` DROP `email`;'
mssql: 'ALTER TABLE [archive].[user] DROP [email];',
mysql: 'ALTER TABLE `archive.user` DROP `email`;',
postgres: 'ALTER TABLE "archive"."user" DROP COLUMN "email";',
});
});
});
});
\ No newline at end of file
});
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!