Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9d3ce6e8

Von Moritz Bunkus vor etwa 16 Jahren hinzugefügt

  • ID 9d3ce6e8de57241dbba95498f8db127410e11752
  • Vorgänger 1a0025cb
  • Nachfolger fbb89b3b

Das Feld "transaction_description" sollte keine NULL-Werte enthalten, weil das das Sortieren unnötig erschwert.

Unterschiede anzeigen:

sql/Pg-upgrade2/transaction_description_not_null.sql
1
-- @tag: transaction_description_not_null
2
-- @description: Das Feld "transaction_description" sollte nicht NULL-Werte enthalten.
3
-- @depends: transaction_description
4
UPDATE ap SET transaction_description = '' WHERE transaction_description IS NULL;
5
UPDATE ar SET transaction_description = '' WHERE transaction_description IS NULL;
6
UPDATE oe SET transaction_description = '' WHERE transaction_description IS NULL;

Auch abrufbar als: Unified diff