Commit 052b3f26 authored by Vladimir Iakovlev's avatar Vladimir Iakovlev Committed by Katharina Fey
Browse files

Update `create_table_if_not_exists_doesnt_hit_unreachable` test

parent 238383de
......@@ -33,5 +33,5 @@ fn create_table_if_not_exists_doesnt_hit_unreachable() {
t.add_column("pic", types::text().nullable(true));
t.add_column("mbid", types::text().nullable(true));
});
assert_eq!(m.make::<MySql>(), String::from("CREATE TABLE `artist` IF NOT EXISTS (`id` INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` TEXT, `description` TEXT, `pic` TEXT, `mbid` TEXT);"));
assert_eq!(m.make::<MySql>(), String::from("CREATE TABLE IF NOT EXISTS `artist` (`id` INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` TEXT, `description` TEXT, `pic` TEXT, `mbid` TEXT);"));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment