view artifacts/doc/conf/seddb-db.xml @ 6721:df402b3e0281

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; .
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 31 Jul 2013 11:10:11 +0200
parents 5aa05a7a34b7
children eb65364040a8
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<seddb-database>
    <!-- This is the default SedDB db configuration. -->
    <user>sedb</user>
    <password>sedb</password>
    <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
    <driver>org.postgresql.Driver</driver>
    <url>jdbc:postgresql://localhost:5432/seddb</url>
    <!--
    <connection-init-sqls>ALTER SESSION SET CURRENT_SCHEMA=SEDDB</connection-init-sqls>
    -->
</seddb-database>

http://dive4elements.wald.intevation.org