Index: trunk/ippdb/src/ippdb.h
===================================================================
--- trunk/ippdb/src/ippdb.h	(revision 14169)
+++ trunk/ippdb/src/ippdb.h	(revision 14252)
@@ -4962,9 +4962,10 @@
 typedef struct {
     psS64           diff_id;
+    bool            template;
+    psS64           stack_id;
     psS64           warp_id;
     char            *skycell_id;
     char            *tess_id;
     char            *kind;
-    bool            template;
 } diffInputSkyfileRow;
 
@@ -4976,9 +4977,10 @@
 diffInputSkyfileRow *diffInputSkyfileRowAlloc(
     psS64           diff_id,
+    bool            template,
+    psS64           stack_id,
     psS64           warp_id,
     const char      *skycell_id,
     const char      *tess_id,
-    const char      *kind,
-    bool            template
+    const char      *kind
 );
 
@@ -5011,9 +5013,10 @@
     psDB            *dbh,               ///< Database handle
     psS64           diff_id,
+    bool            template,
+    psS64           stack_id,
     psS64           warp_id,
     const char      *skycell_id,
     const char      *tess_id,
-    const char      *kind,
-    bool            template
+    const char      *kind
 );
 
