Browse Source
Merge pull request #7357 from abpframework/issue/7339
Cli DBMS: SQLite connection string espace char
pull/7358/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/NewCommand.cs
|
|
|
@ -248,7 +248,7 @@ namespace Volo.Abp.Cli.Commands |
|
|
|
case DatabaseManagementSystem.OracleDevart: |
|
|
|
return "Data Source=MyProjectName;Integrated Security=yes;"; |
|
|
|
case DatabaseManagementSystem.SQLite: |
|
|
|
return $"Data Source={Path.Combine(outputFolder,"database\\MyProjectName.db")};Version=3;"; |
|
|
|
return $"Data Source={Path.Combine(outputFolder , "MyProjectName.db")};".Replace("\\", "\\\\"); |
|
|
|
default: |
|
|
|
return null; |
|
|
|
} |
|
|
|
|