Show security labels in the reverse engineered SQL for domains. Fixes #1574

This commit is contained in:
Surinder Kumar 2016-10-21 12:49:50 +01:00 committed by Dave Page
parent d806a9ce9e
commit 406dab069d

View File

@ -695,6 +695,10 @@ AND relkind != 'c'))"""
data['constraints'] = res['rows']
# Get formatted Security Labels
if 'seclabels' in data:
data.update(parse_sec_labels_from_db(data['seclabels']))
SQL = render_template("/".join([self.template_path,
'create.sql']), data=data)