[ 
https://issues.apache.org/jira/browse/ARIA-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896970#comment-15896970
 ] 

ASF GitHub Bot commented on ARIA-115:
-------------------------------------

Github user ran-z commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/74#discussion_r104373752
  
    --- Diff: aria/storage/modeling/orchestrator_elements.py ---
    @@ -471,6 +471,14 @@ def retry(message=None, retry_interval=None):
     class LogBase(ModelMixin):
         __tablename__ = 'log'
     
    +    @declared_attr
    +    def execution_fk(cls):
    +        return cls.foreign_key('execution', nullable=True)
    --- End diff --
    
    nullable should be False


> Log model should have an Execution field
> ----------------------------------------
>
>                 Key: ARIA-115
>                 URL: https://issues.apache.org/jira/browse/ARIA-115
>             Project: AriaTosca
>          Issue Type: Task
>            Reporter: Ran Ziv
>            Assignee: Maxim Orlov
>
> The Log model currently doesn't relate to a specific execution.
> The field should be added to the model.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to