Skip to content

Conversation

@uds5501
Copy link
Contributor

@uds5501 uds5501 commented Jun 2, 2019

Fixes #5983

Checked this migration, works on local.

@auto-label auto-label bot added the fix label Jun 2, 2019
@uds5501
Copy link
Contributor Author

uds5501 commented Jun 2, 2019

@iamareebjamal Please review

@codecov
Copy link

codecov bot commented Jun 2, 2019

Codecov Report

❗ No coverage uploaded for pull request base (development@fdf1bd4). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##             development    #5984   +/-   ##
==============================================
  Coverage               ?   66.46%           
==============================================
  Files                  ?      284           
  Lines                  ?    13905           
  Branches               ?        0           
==============================================
  Hits                   ?     9242           
  Misses                 ?     4663           
  Partials               ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdf1bd4...65bb135. Read the comment docs.

Copy link
Member

@kushthedude kushthedude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@uds5501 Please check , After pulling your changes i still get this

 File "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 394, in filter_for_lineage
    id_, branch_label = self._resolve_revision_number(check_against)
  File "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 445, in _resolve_revision_number
    current_head = self.get_current_head(branch_label)
  File "/usr/local/lib/python3.7/site-packages/alembic/script/revision.py", line 271, in get_current_head
    "%s@head" % branch_label if branch_label else "head")
alembic.util.exc.CommandError: Multiple heads are present; please specify a single target revision

@uds5501
Copy link
Contributor Author

uds5501 commented Jun 2, 2019

That's wierd, @shreyanshdwivedi can you check? Travis build passed so it shouldn't be a problem

@kushthedude
Copy link
Member

@uds5501 My heads are still diff

0e80c49a6e28 (head)
b6e3c8124e9e (head)

@kushthedude
Copy link
Member

kushthedude commented Jun 2, 2019

Please tell output of python3 manage.py db heads

@iamareebjamal iamareebjamal merged commit eb349a6 into fossasia:development Jun 2, 2019
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.

multiple db heads present

4 participants