Hi,

I tried to update an existing Model (PostGreSQL) by adding a TEXT field which shouldn't be NULL.
In the upgrade method I used

table.newColumn("responsible", java.sql.Types.LONGVARCHAR, 0, 0, 0, false, "", "default");

to fill the new field with a default value "default" to deal with the already existing datasets. But I always get an org.postgresql.util.PSQLException: ERROR: column "responsible" contains null values.

Any hints what I did wrong?

Regards,
Helmut

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to