Skip to content

Commit 38d1ac6

Browse files
committed
Replace existing table in tests
1 parent de8ede7 commit 38d1ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DuckDB.NET.Test/DuckDBManagedAppenderListTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void ListValuesInternal<T>(string typeName, Func<Faker, T> generator, int
5151
var table = $"managedAppender{typeName}Lists";
5252

5353
var columnLength = length.HasValue ? length.Value.ToString() : "";
54-
Command.CommandText = $"CREATE TABLE IF NOT EXISTS {table} (a Integer, b {typeName}[{columnLength}], c {typeName}[][]);";
54+
Command.CommandText = $"CREATE OR REPLACE TABLE {table} (a Integer, b {typeName}[{columnLength}], c {typeName}[][]);";
5555
Command.ExecuteNonQuery();
5656

5757
var lists = new List<List<T>>();

0 commit comments

Comments
 (0)