gendummydata.py: Fix NOT NULL constraint problems
commit0c6a415cb36ef8f245c787dfe68d107066f9dfbd
authorMark Weiman <mark.weiman@markzz.com>
Tue, 2 May 2017 13:58:07 +0000 (2 09:58 -0400)
committerLukas Fleischer <lfleischer@archlinux.org>
Tue, 2 May 2017 14:29:40 +0000 (2 16:29 +0200)
treeeb1a7a0c51d2ea17267d4f67d2fb2e34b117f008
parenta8ac2004d3f25877d9e7b4fa58f10009c39f8acf
gendummydata.py: Fix NOT NULL constraint problems

PackageBases.FlaggerComment and PackageComments.RenderedComment cannot
be NULL and would cause problems in the output file for sqlite users.
This patch adds empty strings ("") as values for these fields.

Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
schema/gendummydata.py