diff flys-backend/doc/schema/postgresql.sql @ 4776:20b6ebf23916

!!! FLYS backend schema change !!! Add column bfg_id column to discharge_tables. Alter existing databases with alter table discharge_tables add column bfg_id varchar(50); This column is now used to synchronize FLYS with the AFT database.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 05 Jan 2013 15:05:51 +0100
parents 83a42e6a562d
children b79eb203032d
line wrap: on
line diff
--- a/flys-backend/doc/schema/postgresql.sql	Sat Jan 05 14:52:55 2013 +0100
+++ b/flys-backend/doc/schema/postgresql.sql	Sat Jan 05 15:05:51 2013 +0100
@@ -145,6 +145,7 @@
     id               int PRIMARY KEY NOT NULL,
     gauge_id         int NOT NULL REFERENCES gauges(id),
     description      VARCHAR(256) NOT NULL,
+    bfg_id           VARCHAR(50),
     kind             int NOT NULL DEFAULT 0,
     time_interval_id int REFERENCES time_intervals(id)
 

http://dive4elements.wald.intevation.org