-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add database management page, user don't need to upload config file a…
…ny more
- Loading branch information
1 parent
8a3a6f8
commit db5787d
Showing
6 changed files
with
336 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
database_number: 1 | ||
|
||
database1: | ||
nickname: 'Google cloud' | ||
dbms: 'postgresql' | ||
host: '35.235.95.37' # '35.235.95.37' # Replace with your DB host | ||
port: 5439 # 5439 # Replace with your DB port | ||
user: 'jize'# 'jize' # Replace with your DB username | ||
|
||
mapping: | ||
columns: | ||
user_id: 'user_id' | ||
timestamp: 'timestamp' | ||
value: 'value' | ||
timestamp: timestamp | ||
user_id: user_id | ||
value: value | ||
tables: | ||
geo: | ||
- locations | ||
time_series: | ||
- heart_rates | ||
- calories | ||
- mets | ||
- distances | ||
- steps | ||
- sleep | ||
- weight | ||
user_table: | ||
name: 'geomts_users' | ||
columns: | ||
user_id: String(50) | ||
device: String(50) | ||
location: String(50) | ||
time_series: | ||
- heart_rates | ||
- calories | ||
- mets | ||
- distances | ||
- steps | ||
- sleep | ||
- weight | ||
geo: | ||
- locations | ||
user_id: String(50) | ||
name: geomts_users | ||
database1: | ||
nickname: 'local' | ||
dbms: 'postgresql' | ||
host: 'db' | ||
port: 5432 | ||
user: 'admin' | ||
password: 'admin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
database_number: 0 | ||
mapping: | ||
columns: | ||
timestamp: timestamp | ||
user_id: user_id | ||
value: value | ||
tables: | ||
geo: | ||
- locations | ||
time_series: | ||
- heart_rates | ||
- calories | ||
- mets | ||
- distances | ||
- steps | ||
- sleep | ||
- weight | ||
user_table: | ||
columns: | ||
device: String(50) | ||
location: String(50) | ||
user_id: String(50) | ||
name: geomts_users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.