Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ch27610] unicef-locations #1714

Merged
merged 1 commit into from
Mar 25, 2022
Merged

[ch27610] unicef-locations #1714

merged 1 commit into from
Mar 25, 2022

Conversation

domdinicola
Copy link
Contributor

No description provided.

@domdinicola domdinicola changed the title Unicef-locations [ch27610] unicef-locations Mar 14, 2022
@domdinicola
Copy link
Contributor Author

[ch27610]

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #27610: unicef-locations adoption for PRP.

@domdinicola domdinicola force-pushed the unicef-location branch 2 times, most recently from 7709496 to d6f2b24 Compare March 14, 2022 16:38
@domdinicola domdinicola force-pushed the unicef-location branch 2 times, most recently from 7dbfc18 to 04a1ffc Compare March 14, 2022 18:15
@domdinicola
Copy link
Contributor Author

domdinicola commented Mar 25, 2022

from django.db import connection
with connection.cursor() as cursor:
    cursor.execute("ALTER TABLE core_cartodbtable RENAME TO unicef_locations_cartodbtable")
    cursor.execute("UPDATE django_content_type SET app_label='unicef_locations' WHERE app_label='core' and model=‘cartodbtable)
python manage.py migrate unicef_locations --fake
python manage.py migrate

@robertavram robertavram merged commit 3cf0d8f into develop Mar 25, 2022
@robertavram robertavram deleted the unicef-location branch March 25, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants