-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial planning and work on Voyages' enslaver migration. We are splitting the process in four steps to allow for ample testing and verification. In the intermediary steps, both legacy VoyageCaptain and VoyageOwner tables will be used alongside the Enslaver (PAST) data. A settings.py variable was created to ensure that we can advance or rollback on the steps. Once finalized, the plan is to drop the legacy tables. * Additional code to help with data migration Voyages to PAST. * Adding two extra intended disembarkation ports to VoyageItinerary. Guarding None values in _map_voyage_to_spss. Fixing bugs in export of AFRINFO / CARGO vars. * Disembarkation ports now selectable in OoK. * Fixing issues in export and import CSV for voyages. A roundtrip test: export to file 1, import from file 1, export to file 2 yielded identical files 1 and 2. * Fixing DataTable CSV/Excel export. Issue was new Linked Voyage column which contains array-valued cells. * pip and mysql library version bumps * removing moderncountry from enslaved language group contribution (as it is implicit in the lg) --------- Co-authored-by: Domingos <[email protected]> Co-authored-by: John Mulligan <[email protected]>
- Loading branch information
1 parent
2119420
commit 15b6e7c
Showing
22 changed files
with
724 additions
and
319 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 |
---|---|---|
|
@@ -21,3 +21,4 @@ google_auth.json | |
documents/audio/** | ||
documents/blog/** | ||
documents/_versions/** | ||
documents/csv_downloads/** |
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
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
27 changes: 27 additions & 0 deletions
27
voyages/apps/contribute/migrations/0024_auto_20230131_1336.py
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,27 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.17 on 2023-01-31 13:36 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('voyage', '0020_auto_20230131_1336'), | ||
('contribute', '0023_auto_20220621_1812'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='interimvoyage', | ||
name='fourth_port_intended_disembarkation', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='voyage.Place'), | ||
), | ||
migrations.AddField( | ||
model_name='interimvoyage', | ||
name='third_port_intended_disembarkation', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='voyage.Place'), | ||
), | ||
] |
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.