]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix broken DDL
authorDan Langille <dan@langille.org>
Fri, 12 Dec 2003 15:48:24 +0000 (15:48 +0000)
committerDan Langille <dan@langille.org>
Fri, 12 Dec 2003 15:48:24 +0000 (15:48 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@871 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/make_mysql_tables.in

index 3c9ff1442cfa842bd1ff4a0b8c402f19c52f64f8..6db5652082bbef79beb0e76cdf461e7d00095a03 100644 (file)
@@ -139,8 +139,8 @@ CREATE TABLE Pool (
    PoolType ENUM('Backup', 'Copy', 'Cloned', 'Archive', 'Migration', 'Scratch') NOT NULL,
    LabelFormat TINYBLOB,
    Enabled TINYINT DEFAULT 1,
-   ScratchPoolId INTEGER UNSIGNED REFERENCES Pool DEFAULT 0,
-   RecyclePoolId INTEGER UNSIGNED REFERENCES Pool DEFAULT 0,
+   ScratchPoolId INTEGER UNSIGNED DEFAULT 0 REFERENCES Pool,
+   RecyclePoolId INTEGER UNSIGNED DEFAULT 0 REFERENCES Pool,
    UNIQUE (Name(128)),
    PRIMARY KEY (PoolId)
    );