Anand Doshi
13 years ago
4 changed files with 24 additions and 2 deletions
@ -0,0 +1,11 @@ |
|||
import webnotes |
|||
|
|||
def execute(): |
|||
sql = webnotes.conn.sql |
|||
|
|||
sql("commit") |
|||
sql("set foreign_key_checks=0") |
|||
for tab in sql("show tables"): |
|||
sql("ALTER TABLE `%s` CONVERT TO CHARACTER SET utf8" % tab[0]) |
|||
|
|||
sql("set foreign_key_checks=1") |
@ -1 +1 @@ |
|||
31 |
|||
34 |
Loading…
Reference in new issue