diff options
Diffstat (limited to 'buildbot_gentoo_ci/db/model.py')
-rw-r--r-- | buildbot_gentoo_ci/db/model.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/buildbot_gentoo_ci/db/model.py b/buildbot_gentoo_ci/db/model.py index dea3e15..448e67f 100644 --- a/buildbot_gentoo_ci/db/model.py +++ b/buildbot_gentoo_ci/db/model.py @@ -152,6 +152,18 @@ class Model(base.DBConnectorComponent): nullable=False), ) + # projects bugs settings + projects_bugs = sautils.Table( + "projects_bugs", metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('project_uuid', sa.String(36), + sa.ForeignKey('projects.uuid', ondelete='CASCADE'), + nullable=False), + sa.Column('enabled', sa.Boolean, default=False), + sa.Column('auto_assigne', sa.Boolean, default=False), + sa.Column('extra_summery', sa.String(255), nullable=False), + ) + # What repository's use by projects projects_repositorys = sautils.Table( "projects_repositorys", metadata, @@ -167,6 +179,7 @@ class Model(base.DBConnectorComponent): sa.Column('build', sa.Boolean, default=False), sa.Column('test', sa.Boolean, default=False), sa.Column('test_mr', sa.Boolean, default=False), + sa.Column('bug', sa.Boolean, default=False), ) # projects etc/portage settings |