Adds a separate endpoint which enables uploading sheets containing aqualink_site_id, aqualink_survey_point_id and aqualink_sensor_type.
Changes data_uploads-sites relation from many-to-one to many-to-many
Adds a dedicated page for multiple site uploads
Changes uploads history table, adding a "AFFECTED SITE IDS" column
Before the migration we should take a backup of the data uploads table. for example:
pg_dump -h localhost -p 54321 -U postgres -W -t public.data_uploads > ~/dump_data_uploads.sql
and insert, after the migration, the relevant Ids.
TODO:
[x] test coverage
[x] fix old uploads history table and make sure the change in schema does not break anything else
[x] web
A new page, specifically for this type of uploads, is added, which would be found on the top right drop down, if the user is site admin or admin
resolves https://github.com/aqualinkorg/aqualink-app/issues/903
Adds a separate endpoint which enables uploading sheets containing
aqualink_site_id
,aqualink_survey_point_id
andaqualink_sensor_type
. Changesdata_uploads
-sites
relation from many-to-one to many-to-many Adds a dedicated page for multiple site uploads Changes uploads history table, adding a "AFFECTED SITE IDS" columnBefore the migration we should take a backup of the data uploads table. for example:
pg_dump -h localhost -p 54321 -U postgres -W -t public.data_uploads > ~/dump_data_uploads.sql
and insert, after the migration, the relevant Ids.TODO:
A new page, specifically for this type of uploads, is added, which would be found on the top right drop down, if the user is site admin or admin