Changeset - 09adbb6ce166
[Not reviewed]
default
0 1 0
timeless@gmail.com - 10 years ago 2016-05-03 14:01:10
timeless@gmail.com
spelling: intermediate
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/dbmigrate/versions/005_version_1_3_0.py
Show inline comments
 
@@ -32,13 +32,13 @@ def upgrade(migrate_engine):
 

	
 
    if old_cons:
 
        try:
 
            old_cons.drop()
 
        except Exception as e:
 
            # we don't care if this fails really... better to pass migration than
 
            # leave this in intermidiate state
 
            # leave this in intermediate state
 
            print 'Failed to remove Unique for user_id, repository_id reason %s' % e
 

	
 

	
 
    #==========================================================================
 
    # fix uniques of table `user_repo_group_to_perm`
 
    #==========================================================================
 
@@ -60,13 +60,13 @@ def upgrade(migrate_engine):
 

	
 
    if old_cons:
 
        try:
 
            old_cons.drop()
 
        except Exception as e:
 
            # we don't care if this fails really... better to pass migration than
 
            # leave this in intermidiate state
 
            # leave this in intermediate state
 
            print 'Failed to remove Unique for user_id, repository_id reason %s' % e
 

	
 
    return
 

	
 

	
 
def downgrade(migrate_engine):
0 comments (0 inline, 0 general)