From: Kern Sibbald Date: Fri, 16 Apr 2010 06:35:09 +0000 (+0200) Subject: Fix RestoreObject make_sqlite3_table.in syntax X-Git-Tag: Release-7.0.0~1939 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70ec9b0c9f544c6fc26bb572e8f36b1e95618125;p=bacula%2Fbacula Fix RestoreObject make_sqlite3_table.in syntax --- diff --git a/bacula/src/cats/make_sqlite3_tables.in b/bacula/src/cats/make_sqlite3_tables.in index 1cf00f1d7e..b3ccb7f8e5 100644 --- a/bacula/src/cats/make_sqlite3_tables.in +++ b/bacula/src/cats/make_sqlite3_tables.in @@ -60,8 +60,7 @@ CREATE TABLE RestoreObject ( ObjectType INTEGER DEFAULT 0, FileIndex INTEGER UNSIGNED DEFAULT 0, JobId INTEGER UNSIGNED REFERENCES Job NOT NULL, - PRIMARY KEY(RestoreObjectId), - INDEX (JobId) + PRIMARY KEY(RestoreObjectId) ); CREATE INDEX restore_jobid_idx ON RestoreObject (JobId);