commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5033 - trunk/gnue-common/src/schema/scripter/processors


From: btami
Subject: r5033 - trunk/gnue-common/src/schema/scripter/processors
Date: Sat, 10 Jan 2004 05:21:22 -0600 (CST)

Author: btami
Date: 2004-01-10 05:21:22 -0600 (Sat, 10 Jan 2004)
New Revision: 5033

Modified:
   trunk/gnue-common/src/schema/scripter/processors/interbase.py
Log:
drop table before create

Modified: trunk/gnue-common/src/schema/scripter/processors/interbase.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/processors/interbase.py       
2004-01-10 11:17:06 UTC (rev 5032)
+++ trunk/gnue-common/src/schema/scripter/processors/interbase.py       
2004-01-10 11:21:22 UTC (rev 5033)
@@ -113,6 +113,8 @@
 
   def createTable(self, name, fields, pretable=[], posttable=[]):
     trigBody = self.trigBody
+
+    pretable.append("DROP TABLE %s" % name)
 
     if len(trigBody):
       posttable.append ("SET TERM ^ ;\n"+\





reply via email to

[Prev in Thread] Current Thread [Next in Thread]