ANCIR / grano

A toolkit for mapping networks of political and economic influence through diverse types of entities and their relations. Accessible at http://granoproject.org
http://granoproject.org
MIT License
188 stars 28 forks source link

DB Branching - two heads #76

Closed leondelpech closed 9 years ago

leondelpech commented 10 years ago

Issue: $ grano db upgrade head Revision 3ab60d7d74a1 referenced from 3ab60d7d74a1 -> 59d7b4f94cdf

Fix: Couldn't give back the fix, someone on the project want to fix this up if correct.

diff --git a/grano/alembic/versions/59d7b4f94cdf_remove_status_again.py b/grano/alembic/versions/59d7b4f94cdf_remove_status_again.py index bb27f85..fd50595 100644 --- a/grano/alembic/versions/59d7b4f94cdf_remove_status_again.py +++ b/grano/alembic/versions/59d7b4f94cdf_remove_status_again.py @@ -1,14 +1,14 @@ """remove status again

Revision ID: 59d7b4f94cdf -Revises: 3ab60d7d74a1 +Revises: 5143617349b9 # Mod 15/09/2014 from 3ab60d7d74a1 Create Date: 2014-09-11 20:28:20.938462

"""

revision identifiers, used by Alembic.

revision = '59d7b4f94cdf' -down_revision = '3ab60d7d74a1' +down_revision = '5143617349b9' # Mod 15/09/2014 from 3ab60d7d74a1

from alembic import op import sqlalchemy as sa

Fixed: $ grano db upgrade head

pudo commented 9 years ago

This was fixed on a branch that has now been merged.