Index: trunk/sql_init/samhain.mysql.init
===================================================================
--- trunk/sql_init/samhain.mysql.init	(revision 296)
+++ trunk/sql_init/samhain.mysql.init	(revision 392)
@@ -70,21 +70,21 @@
         link_new      BLOB,
 	
-        size_old      BIGINT,
-        size_new      BIGINT,
-        hardlinks_old BIGINT,
-        hardlinks_new BIGINT,
-        inode_old     BIGINT,
-        inode_new     BIGINT,
+        size_old      BIGINT UNSIGNED,
+        size_new      BIGINT UNSIGNED,
+        hardlinks_old BIGINT UNSIGNED,
+        hardlinks_new BIGINT UNSIGNED,
+        inode_old     BIGINT UNSIGNED,
+        inode_new     BIGINT UNSIGNED,
 
-	imode_old     BIGINT,
-	imode_new     BIGINT,
-	iattr_old     BIGINT,
-	iattr_new     BIGINT,
-	idevice_old   BIGINT,
-	idevice_new   BIGINT,
-	iowner_old    BIGINT,
-	iowner_new    BIGINT,
-	igroup_old    BIGINT,
-	igroup_new    BIGINT,
+	imode_old     BIGINT UNSIGNED,
+	imode_new     BIGINT UNSIGNED,
+	iattr_old     BIGINT UNSIGNED,
+	iattr_new     BIGINT UNSIGNED,
+	idevice_old   BIGINT UNSIGNED,
+	idevice_new   BIGINT UNSIGNED,
+	iowner_old    BIGINT UNSIGNED,
+	iowner_new    BIGINT UNSIGNED,
+	igroup_old    BIGINT UNSIGNED,
+	igroup_new    BIGINT UNSIGNED,
 	
 
Index: trunk/sql_init/samhain.postgres.init
===================================================================
--- trunk/sql_init/samhain.postgres.init	(revision 296)
+++ trunk/sql_init/samhain.postgres.init	(revision 392)
@@ -64,21 +64,21 @@
         link_new      TEXT,
 	
-        size_old      BIGINT,
-        size_new      BIGINT,
-        hardlinks_old BIGINT,
-        hardlinks_new BIGINT,
-        inode_old     BIGINT,
-        inode_new     BIGINT,
+        size_old      NUMERIC(20),
+        size_new      NUMERIC(20),
+        hardlinks_old NUMERIC(20),
+        hardlinks_new NUMERIC(20),
+        inode_old     NUMERIC(20),
+        inode_new     NUMERIC(20),
 
-	imode_old     BIGINT,
-	imode_new     BIGINT,
-	iattr_old     BIGINT,
-	iattr_new     BIGINT,
-	idevice_old   BIGINT,
-	idevice_new   BIGINT,
-	iowner_old    BIGINT,
-	iowner_new    BIGINT,
-	igroup_old    BIGINT,
-	igroup_new    BIGINT,
+	imode_old     NUMERIC(20),
+	imode_new     NUMERIC(20),
+	iattr_old     NUMERIC(20),
+	iattr_new     NUMERIC(20),
+	idevice_old   NUMERIC(20),
+	idevice_new   NUMERIC(20),
+	iowner_old    NUMERIC(20),
+	iowner_new    NUMERIC(20),
+	igroup_old    NUMERIC(20),
+	igroup_new    NUMERIC(20),
                  
         acl_old       TEXT,
