From: Eric Bollengier Date: Sat, 1 May 2010 09:12:43 +0000 (+0200) Subject: Fix RestoreObject schema on PostgreSQL X-Git-Tag: Release-5.2.1~1379 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=49ced8b3a552c63941c829d75dfd9e1289558854;p=bacula%2Fbacula Fix RestoreObject schema on PostgreSQL --- diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index 4fb6745247..04e217f913 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -84,10 +84,10 @@ CREATE TABLE RestoreObject ( ObjectFullLength INTEGER DEFAULT 0, ObjectIndex INTEGER DEFAULT 0, ObjectType INTEGER DEFAULT 0, - FileIndex INTEGER UNSIGNED DEFAULT 0, - JobId INTEGER UNSIGNED, + FileIndex INTEGER DEFAULT 0, + JobId INTEGER, ObjectCompression INTEGER DEFAULT 0, - PRIMARY KEY(RestoreObjectId), + PRIMARY KEY(RestoreObjectId) ); CREATE INDEX restore_jobid_idx on RestoreObject(JobId);