Index: trunk/glueforge/templates/psdb/code.tt
===================================================================
--- trunk/glueforge/templates/psdb/code.tt	(revision 5907)
+++ trunk/glueforge/templates/psdb/code.tt	(revision 5960)
@@ -7,8 +7,8 @@
 #define MAX_STRING_LENGTH 1024
 
+[% INCLUDE init.tt %]
+[% INCLUDE cleanup.tt %]
 [% FOREACH table = tables -%]
 [% INCLUDE alloc.tt %]
-[% INCLUDE init.tt %]
-[% INCLUDE cleanup.tt %]
 [% INCLUDE createtable.tt %]
 [% INCLUDE droptable.tt %]
