#17 upd README

This commit is contained in:
nobohan 2021-09-15 11:58:34 +02:00
parent 177a54a444
commit bc21b86823

View File

@ -54,4 +54,10 @@ Here is the column list and the corresponding values list for the table of visit
``` ```
column_list = ['id_site', 'json_data', 'timestamp_create', 'obs_txt'] column_list = ['id_site', 'json_data', 'timestamp_create', 'obs_txt']
values_list = ['__ID__', '__JSON__', '__NOW__', 'import'] values_list = ['__ID__', '__JSON__', '__NOW__', 'import']
``` ```
### Populate the database
Simply execute the sql files onto the database to import the data.
Note that you may activate the uuid extension on the database the first time you use it (for using the function `uuid_generate_v4()`). This can be done by `CREATE EXTENSION IF NOT EXISTS "uuid-ossp";`