[PATCH 3 of 3] minfo-schema-change/issue1393: add kind column to sediment_yield table

Wald Commits scm-commit at wald.intevation.org
Wed Jul 31 11:01:01 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1375261811 -7200
# Node ID df402b3e02810fe4a452380253c79de392eb6fee
# Parent  1e2dfd91274d8529b99d24141ea3cf22cc1fcc73
minfo-schema-change/issue1393: add kind column to sediment_yield table.

To change existing databases, issue following sql command:

ALTER TABLE sediment_yield ADD kind INT DEFAULT 0;

For oracles it might look like

ALTER TABLE sediment_yield ADD kind NUMBER(38,0) DEFAULT 0;



More information about the Dive4elements-commits mailing list