-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtables.py
75 lines (67 loc) · 1.72 KB
/
tables.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
from dotenv import load_dotenv
import os
# -------------------------------------------
# ---------------- load vars ----------------
# -------------------------------------------
load_dotenv()
pg_pass=os.getenv('PG_PASS')
pg_host=os.getenv('PG_HOST')
scylla_host=os.getenv('SCYLLA_HOST')
#-----------------------------------------------------------------------------------
#-----------------------------------------------------------------------------------
pg_config = {
'database': 'egabee',
'user': 'egabee',
'password': pg_pass,
'host': pg_host,
'port': '5432'
}
scylla_config = {
'contact_points': [scylla_host],
'keyspace': 'egabee'
}
#------ is reversed keywords ---------
column_mapping = {
'user_validation_codes': {
'token': 'token_'
},
'cosmwasm_contract': {
'schema': 'schema_'
}
}
table_names = [
# "users",
# "projects",
# "auth_methods",
# "user_auth_tokens",
# "user_accounts",
# "user_contacts",
# "contact_confirmation_codes",
# "user_telegram_info",
# "user_email_notifications",
# "user_slack_info",
# "user_validation_codes",
# "user_networks",
# "user_contracts",
# "user_tokens",
# "user_wallets",
# "user_nfts",
# "user_relayer",
# "user_contract_artifacts",
# "cosmwasm_contract",
# "user_rollapp",
# "alert_rules",
# "alert_conditions",
# "actions",
# "historical_alerts",
# "webhook_delivery_queue",
# "web3_actions",
# "web3_action_runs" ,
# "cosmos_messages",
# "cosmos_events",
# "contracts",
# "tokens",
# "account_balances",
# "relayer_info",
"rollapp_info"
]