File tree Expand file tree Collapse file tree
sea-orm-sync/src/database Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ cargo test --doc
4040
4141### Launch some databases
4242
43- There is a docker compose under ` build-tools ` , but usually I just pick the ones I need from ` build-tools/docker-crete .sh ` :
43+ There is a docker compose under ` build-tools ` , but usually I just pick the ones I need from ` build-tools/docker-create .sh ` :
4444
4545``` sh
4646docker run \
Original file line number Diff line number Diff line change @@ -593,11 +593,17 @@ impl DatabaseConnection {
593593 #[ cfg( feature = "sqlx-mysql" ) ]
594594 DatabaseConnectionType :: SqlxMySqlPoolConnection ( conn) => conn. tracing_statement_logging ,
595595 #[ cfg( feature = "sqlx-postgres" ) ]
596- DatabaseConnectionType :: SqlxPostgresPoolConnection ( conn) => conn. tracing_statement_logging ,
596+ DatabaseConnectionType :: SqlxPostgresPoolConnection ( conn) => {
597+ conn. tracing_statement_logging
598+ }
597599 #[ cfg( feature = "sqlx-sqlite" ) ]
598- DatabaseConnectionType :: SqlxSqlitePoolConnection ( conn) => conn. tracing_statement_logging ,
600+ DatabaseConnectionType :: SqlxSqlitePoolConnection ( conn) => {
601+ conn. tracing_statement_logging
602+ }
599603 #[ cfg( feature = "rusqlite" ) ]
600- DatabaseConnectionType :: RusqliteSharedConnection ( conn) => conn. tracing_statement_logging ,
604+ DatabaseConnectionType :: RusqliteSharedConnection ( conn) => {
605+ conn. tracing_statement_logging
606+ }
601607 DatabaseConnectionType :: Disconnected => true ,
602608 #[ cfg( feature = "mock" ) ]
603609 DatabaseConnectionType :: MockDatabaseConnection ( _) => true ,
You can’t perform that action at this time.
0 commit comments