This commit is contained in:
6543 2020-06-27 16:26:22 +02:00
parent a5c3ebf418
commit e5ff26e652
No known key found for this signature in database
GPG Key ID: A1CA74D27FD13271
4 changed files with 12 additions and 13 deletions

View File

@ -341,6 +341,6 @@ func TestDropTableCols(t *testing.T) {
assert.NoError(t, prepareEngine())
assert.NoError(t, testEngine.Sync2(new(TestDropTableCols)))
assert.NoError(t, testEngine.DropTableCols(new(TestDropTableCols),"name", "to_drop"))
assert.NoError(t, testEngine.DropTableCols(new(TestDropTableCols), "name", "to_drop"))
//ToDo: TEST if cols still exist
}

View File

@ -27,4 +27,3 @@ func SplitNNoCase(s, sep string, n int) []string {
}
return strings.SplitN(s, s[idx:idx+len(sep)], n)
}

View File

@ -8,9 +8,9 @@ import (
"bufio"
"database/sql"
"fmt"
"regexp"
"io"
"os"
"regexp"
"strings"
"xorm.io/xorm/internal/utils"