1 parent
9404d7f9c8
commit
33b4258fbb
5 files changed
+45
-3
No files matched your search
@@ -64,7 +64,7 @@ func buildTargetPlan(source, target config.DatabaseConfig) (Plan, error) {
|
||||
return Plan{}, ErrInvalidRequest
|
||||
}
|
||||
if target.Type == config.DatabaseTypeSQLite {
|
||||
if !sqliteTargetNamePattern.MatchString(target.LocalRef) {
|
||||
if !validSQLiteReference(target.LocalRef) {
|
||||
return Plan{}, ErrInvalidTargetName
|
||||
}
|
||||
} else if !targetNamePattern.MatchString(target.Name) {
|
||||
|
||||
Reference in new issue
Block a user