Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes #14 - merge with time-entry model
  • Loading branch information
Angeluz-07 committed Mar 25, 2020
commit 63bcdd4cfe49dc7f667ff65138037812ae08086f
4 changes: 2 additions & 2 deletions time_tracker_api/activities/activities_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class ActivityDao(CRUDDao):

def create_dao() -> ActivityDao:
from time_tracker_api.sql_repository import db
from time_tracker_api.sql_repository import SQLCRUDDao, AuditedSQLModel, SQLModel
from time_tracker_api.sql_repository import SQLCRUDDao, AuditedSQLModel

class ActivitySQLModel(db.Model, SQLModel, AuditedSQLModel):
class ActivitySQLModel(db.Model, AuditedSQLModel):
__tablename__ = 'activity'
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50), unique=True, nullable=False)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.