We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa3e392 commit ef9aec4Copy full SHA for ef9aec4
1 file changed
diesel_tests/tests/schema_dsl/structures.rs
@@ -84,7 +84,7 @@ where
84
{
85
fn walk_ast(&self, mut out: AstPass<DB>) -> QueryResult<()> {
86
out.unsafe_to_cache_prepared();
87
- out.push_sql("CREATE TABLE ");
+ out.push_sql("CREATE TABLE IF NOT EXISTS ");
88
out.push_identifier(self.name)?;
89
out.push_sql(" (");
90
self.columns.walk_ast(out.reborrow())?;
0 commit comments