@@ -74,15 +74,15 @@ pub async fn db_init() -> TardisResult<()> {
74
74
DOMAIN_REACH_ID . set ( domain_id) . expect ( "fail to set DOMAIN_REACH_ID" ) ;
75
75
let db_kind = TardisFuns :: reldb ( ) . backend ( ) ;
76
76
let compatible_type = TardisFuns :: reldb ( ) . compatible_type ( ) ;
77
- funs. db ( ) . init ( crate :: domain:: message_log:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
78
- funs. db ( ) . init ( crate :: domain:: message_signature:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
79
- funs. db ( ) . init ( crate :: domain:: message_template:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
80
- funs. db ( ) . init ( crate :: domain:: message:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
81
- funs. db ( ) . init ( crate :: domain:: trigger_global_config:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
82
- funs. db ( ) . init ( crate :: domain:: trigger_instance_config:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
83
- funs. db ( ) . init ( crate :: domain:: trigger_scene:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
84
- funs. db ( ) . init ( crate :: domain:: reach_vcode_strategy:: ActiveModel :: init ( db_kind, None , compatible_type. clone ( ) ) ) . await ?;
85
- ReachTriggerSceneService :: init ( & funs, & ctx) . await ?;
77
+ funs. db ( ) . init ( crate :: domain:: message_log:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
78
+ funs. db ( ) . init ( crate :: domain:: message_signature:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
79
+ funs. db ( ) . init ( crate :: domain:: message_template:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
80
+ funs. db ( ) . init ( crate :: domain:: message:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
81
+ funs. db ( ) . init ( crate :: domain:: trigger_global_config:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
82
+ funs. db ( ) . init ( crate :: domain:: trigger_instance_config:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
83
+ funs. db ( ) . init ( crate :: domain:: trigger_scene:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
84
+ funs. db ( ) . init ( crate :: domain:: reach_vcode_strategy:: ActiveModel :: init ( db_kind, None , compatible_type) ) . await ?;
85
+ // ReachTriggerSceneService::init(&funs, &ctx).await?;
86
86
funs. commit ( ) . await ?;
87
87
Ok ( ( ) )
88
88
}
0 commit comments