diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-08-17 02:19:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-08-17 02:19:27 +0200 |
commit | 5ae80ca783823bcd25f216be922dce16a13ad5e2 (patch) | |
tree | 9b49cffabab8b795c6986a02b72780c2bceb50d7 /pyenc/app/model.py | |
parent | Add sample icon. (diff) | |
download | puppet-classifier-master.tar.gz puppet-classifier-master.tar.xz |
Diffstat (limited to 'pyenc/app/model.py')
-rw-r--r-- | pyenc/app/model.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyenc/app/model.py b/pyenc/app/model.py index fed56f2..032b6d3 100644 --- a/pyenc/app/model.py +++ b/pyenc/app/model.py @@ -73,6 +73,8 @@ class Host(db.Model): environment_id = db.Column(db.Integer, db.ForeignKey(f'{Environment.__tablename__}.id')) environment = db.relationship('Environment', back_populates='hosts') + summary = db.Column(db.Text) + classes = db.relationship( 'PuppetClass', back_populates='hosts', |