Skip to content

Commit 4135e5b

Browse files
author
liu kelin
committed
config
1 parent db3e72a commit 4135e5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python_sync_nosql/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
# 这里的demo是将db表数据映射到 redis hash 结构,key=db:table:primary_id
2929
redis_cache_map = {
3030
# db
31-
'test':{
31+
'test_db1':{
3232
# table
33-
'users':'uid'
33+
'test_table':'test_id'
3434
},
35-
'zhou':{
36-
'uc_admin':'id'
35+
'test_db2':{
36+
'test_table2':'test_id2'
3737
}
3838
}
3939

0 commit comments

Comments
 (0)