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

Invenio-DB v1.0.0a2 #9

Merged
merged 2 commits into from
Oct 18, 2015
Merged

Conversation

lnielsen
Copy link
Member

Includes PR #8.

* Fixes issue with tables not being created in correct order with
  respect to foreign key constraints.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
@lnielsen lnielsen added this to the v1.0.0 milestone Oct 17, 2015
@@ -60,7 +60,7 @@ def db():
def create(verbose):
"""Create tables."""
click.secho('Creating all tables!', fg='yellow', bold=True)
with click.progressbar(reversed(_db.metadata.sorted_tables)) as bar:
with click.progressbar(_db.metadata.sorted_tables) as bar:
Copy link
Member

Choose a reason for hiding this comment

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

@lnielsen thanks. This is still the original copy&paste issue - drop/create ;)

@jirikuncar jirikuncar self-assigned this Oct 18, 2015
@jirikuncar jirikuncar merged commit af225a0 into inveniosoftware:master Oct 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants