]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove "not null" and "default current_timestamp" from
authorDan Langille <dan@langille.org>
Sat, 3 Jan 2004 22:33:24 +0000 (22:33 +0000)
committerDan Langille <dan@langille.org>
Sat, 3 Jan 2004 22:33:24 +0000 (22:33 +0000)
media.{firstwritten|lastwritten|labeldate}

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@987 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/make_postgresql_tables.in

index 7232c05cee40035e3fbc6f0b2d8d5252d5505c41..71a3720bc053545c76de75d83ecf7a2d8acd11c3 100644 (file)
@@ -110,12 +110,9 @@ create table media
         default 0,
     poolid            integer               not null,
     mediatype         text                  not null,
-    firstwritten      timestamp without time zone not null
-        default current_timestamp,
-    lastwritten       timestamp without time zone not null
-        default current_timestamp,
-    labeldate         timestamp without time zone not null
-        default current_timestamp,
+    firstwritten      timestamp without time zone,
+    lastwritten       timestamp without time zone,
+    labeldate         timestamp without time zone,
     voljobs           integer               not null
         default 0,
     volfiles          integer               not null