[WP3] Re: Type evolution announcement - Changes related to Astrometry

D.R. Boxhoorn danny at astro.rug.nl
Mon Oct 31 11:51:21 CET 2005


Dear reader,

If you already had any AstrometricParameters instances in your database, you
must execute the following statements, after evolving the type:

   UPDATE "AstrometricParameters" SET "process_status"=1 WHERE "process_status" IS NULL;
   UPDATE "AstrometricParameters" SET "quality_flags"=0 WHERE "quality_flags" IS NULL;

This will prevent python exceptions from occurring when you obtain instances
of AstrometricParameters from the database.

Cheer,

                                                   Danny


More information about the WP3 mailing list