hotosm / tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap
https://wiki.openstreetmap.org/wiki/Tasking_Manager
BSD 2-Clause "Simplified" License
504 stars 270 forks source link

Partners table atrributes lengths adjusted #6487

Closed prabinoid closed 2 months ago

prabinoid commented 2 months ago

What type of PR is this? (check all applicable)

Related Issue

Fixes #6464 and #6483

Describe this PR

Changed the max length of the attributes in the Partners table.

Alternative Approaches Considered

Wanted to remove the length contraints on urls as it can be longer than anticipated but had to downgrade the alembic version in the develop too as Alembic sometimes does not automatically detect all changes in the model, especially when the changes involve removing length constraints or modifying columns with minimal schema impact. Nevertheless, defining the length in attributes is generally a good practice. So, increased the length and made migrations.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

prabinoid commented 2 months ago

Rebased develop and handled flake8 and black formatting tests.