aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-21 20:21:36 +0800
committerGitHub <noreply@github.com>2020-02-21 20:21:36 +0800
commit77c28a63bdd742a46bcf780ae3819c18b7fbf9d2 (patch)
tree1ac73363a24cf147b0b196f7f57fa98dcc6ccc26 /README.md
parent15371296c7b4b6a3a9a75b844ade5ccf00ec53bb (diff)
downloadtimeline-77c28a63bdd742a46bcf780ae3819c18b7fbf9d2.tar.gz
timeline-77c28a63bdd742a46bcf780ae3819c18b7fbf9d2.tar.bz2
timeline-77c28a63bdd742a46bcf780ae3819c18b7fbf9d2.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/README.md b/README.md
index 99530222..a3a4d34d 100644
--- a/README.md
+++ b/README.md
@@ -11,21 +11,3 @@ The final product is hosting on my [Tencent Cloud](https://cloud.tencent.com/) C
Feel free to comment by opening an issue.
`tools/open-code` file is a simple _bash_ script that fixes the problem that _OminiSharp_ in C# extension on vscode can't work using _dotnet_ in Arch official package repository on Arch Linux. See [this page](https://bugs.archlinux.org/task/60903).
-
-## about database configuration
-
-You can configure two database, one for development, other for production, at the same time in the configuration file (better in user secret file):
-
-```json
-{
- "DatabaseConfig": {
- "UseDevelopment": true,
- "ConnectionString": "The secret production database string. (MySql)",
- "DevelopmentConnectionString": "The private development database string. (Sqlite)"
- }
-}
-```
-
-Set `UseDevelopment` to `true` to use `DevelopmentConnectionString` as sqlite connection string. Set `UseDevelopment` to `false` to use `ConnectionString` as mysql connection string. Usually you set it to `true` in development mode and `false` in production mode. But you may have to use production database to do migration in development so you may also set it to `false` in development to do that. The migrations for two database are different because they use different providers and remember to use it to switch to right database when do migration.
-
-If you have better solution to deal with database, please don't hesitate to tell me. 😛