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-5.2.1~1474 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4649e6433b862b13220f13ed979ceb2ce8b14877;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);