Skip to content

Commit

Permalink
models: renaming api_key to access_token
Browse files Browse the repository at this point in the history
Signed-off-by: Dinos Kousidis <dinos.kousidis@cern.ch>
  • Loading branch information
dinosk committed Jul 17, 2018
1 parent 5fc3502 commit a62bdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reana_commons/models.py
Expand Up @@ -49,7 +49,7 @@ class User(Base, Timestamp):

id_ = Column(UUIDType, primary_key=True, unique=True,
default=generate_uuid)
api_key = Column(String(length=255))
access_token = Column(String(length=255))
email = Column(String(length=255), unique=True, primary_key=True)
workflows = relationship("Workflow", backref="user_")

Expand Down

0 comments on commit a62bdc8

Please sign in to comment.