Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:minimanager/minimanager
Browse files Browse the repository at this point in the history
  • Loading branch information
coderasm committed Oct 27, 2010
2 parents 48fa654 + bdf5490 commit 2a74c62
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions SQL/update/upscr.py
@@ -0,0 +1,9 @@
#!/usr/bin/env python
import glob, os
patches = glob.glob('*.sql')
patches = sorted(patches)

for x in patches:
#db = x.split("_")[2].replace('.sql', '')
db = 'mmfpm'
os.system("mysql -u user -ppassword -v " + db + " < " + x)

0 comments on commit 2a74c62

Please sign in to comment.