Mercurial > dive4elements > river
diff flys-backend/doc/schema/postgresql.sql @ 174:249390dd24e7
Added foreign key constraint annotations to model classes.
flys-backend/trunk@1473 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 15 Mar 2011 14:49:56 +0000 |
parents | 8e2f2ddc507f |
children | 0f0b98ef9b04 |
line wrap: on
line diff
--- a/flys-backend/doc/schema/postgresql.sql Mon Mar 14 15:40:14 2011 +0000 +++ b/flys-backend/doc/schema/postgresql.sql Tue Mar 15 14:49:56 2011 +0000 @@ -151,7 +151,7 @@ id int PRIMARY KEY NOT NULL, wst_id int NOT NULL REFERENCES wsts(id), name VARCHAR(256) NOT NULL, - description VARCHAR, + description VARCHAR(256), time_interval_id int REFERENCES time_intervals(id),