2012-07-19 13:40:31 +05:30
|
|
|
from __future__ import unicode_literals
|
2012-03-27 19:31:38 +05:30
|
|
|
def execute():
|
|
|
|
import webnotes
|
|
|
|
webnotes.conn.sql("DELETE FROM `tabDocField` WHERE options='DocFormat'")
|
|
|
|
webnotes.conn.sql("DELETE FROM `tabDocField` WHERE parent='DocFormat'")
|
|
|
|
webnotes.conn.sql("DELETE FROM `tabDocType` WHERE name='DocFormat'")
|
|
|
|
webnotes.conn.commit()
|
|
|
|
webnotes.conn.sql("DROP TABLE `tabDocFormat`")
|
|
|
|
webnotes.conn.begin()
|