This commit is contained in:
Chris Tsang 2021-10-01 11:11:48 +08:00
parent 0c2b0d608d
commit 50a8ae41c0
3 changed files with 3 additions and 4 deletions

View File

@ -1,3 +1,3 @@
HOST=127.0.0.1
PORT=8000
DATABASE_URL="sql://root:root@localhost/actix_example"
DATABASE_URL="sql://root:@localhost/actix_example"

View File

@ -1,3 +1,3 @@
HOST=127.0.0.1
PORT=8000
DATABASE_URL="mysql://root:@localhost/rocket_example"
DATABASE_URL="mysql://root:@localhost/actix_example"

View File

@ -20,8 +20,7 @@ listenfd = "0.3.3"
# remove `path = ""` in your own project
sea-orm = { path = "../../", version = "^0.2.3", features = [
"macros",
"runtime-tokio-native-tls",
# "runtime-actix-native-tls",
"runtime-actix-native-tls",
], default-features = false }
serde = "1"
env_logger = "0.8"