diff --git a/src/MiniExcel/DbList.cs b/src/MiniExcel/DbList.cs index ee72716..8838a1f 100644 --- a/src/MiniExcel/DbList.cs +++ b/src/MiniExcel/DbList.cs @@ -26,8 +26,8 @@ namespace MiniExcelLibs private void CreateTable() { - Clear(); _cmd.CommandText = $@" +DROP TABLE IF EXISTS {_tableName}; CREATE TABLE {_tableName} (name TEXT, `index` INTEGER); CREATE INDEX idx_index