• Huzaifa Iftikhar's avatar
    Add creator_id to deploy_tokens · 40c4143a
    Huzaifa Iftikhar authored
    * Add a new column creator_id which will hold the id of the user who
    created the deploy token.
    * While creating new deploy tokens (group or project) set the
    creator_id as the id of the current user.
    * For old deploy tokens creator_id column would be NULL.
    * When the creator is deleted set the creator_id as NULL.
    
    Changelog: added
    40c4143a
deploy_token.rb 3.63 KB