[GRASS-SVN] r49203 - grass/trunk/lib/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 13 18:58:35 EST 2011
Author: huhabla
Date: 2011-11-13 15:58:35 -0800 (Sun, 13 Nov 2011)
New Revision: 49203
Modified:
grass/trunk/lib/temporal/raster3d_metadata_table.sql
grass/trunk/lib/temporal/raster_metadata_table.sql
Log:
Allow NULL values for min and max
Modified: grass/trunk/lib/temporal/raster3d_metadata_table.sql
===================================================================
--- grass/trunk/lib/temporal/raster3d_metadata_table.sql 2011-11-13 23:34:19 UTC (rev 49202)
+++ grass/trunk/lib/temporal/raster3d_metadata_table.sql 2011-11-13 23:58:35 UTC (rev 49203)
@@ -21,8 +21,8 @@
nsres DOUBLE PRECISION NOT NULL,
ewres DOUBLE PRECISION NOT NULL,
tbres DOUBLE PRECISION NOT NULL,
- min DOUBLE PRECISION NOT NULL,
- max DOUBLE PRECISION NOT NULL,
+ min DOUBLE PRECISION,
+ max DOUBLE PRECISION,
PRIMARY KEY (id),
FOREIGN KEY (id) REFERENCES raster3d_base (id) ON DELETE CASCADE
);
Modified: grass/trunk/lib/temporal/raster_metadata_table.sql
===================================================================
--- grass/trunk/lib/temporal/raster_metadata_table.sql 2011-11-13 23:34:19 UTC (rev 49202)
+++ grass/trunk/lib/temporal/raster_metadata_table.sql 2011-11-13 23:58:35 UTC (rev 49203)
@@ -19,8 +19,8 @@
number_of_cells INTEGER NOT NULL,
nsres DOUBLE PRECISION NOT NULL,
ewres DOUBLE PRECISION NOT NULL,
- min DOUBLE PRECISION NOT NULL,
- max DOUBLE PRECISION NOT NULL,
+ min DOUBLE PRECISION,
+ max DOUBLE PRECISION,
PRIMARY KEY (id),
FOREIGN KEY (id) REFERENCES raster_base (id) ON DELETE CASCADE
);
More information about the grass-commit
mailing list