##// END OF EJS Templates
fixes #51 deleting a repo didn't delete it's dependent db entries....
marcink -
r667:56a8434a beta
parent child Browse files
Show More
@@ -136,6 +136,7 b' level = DEBUG'
136 handlers = console
136 handlers = console
137 qualname = routes.middleware
137 qualname = routes.middleware
138 # "level = DEBUG" logs the route matched and routing variables.
138 # "level = DEBUG" logs the route matched and routing variables.
139 propagate = 0
139
140
140 [logger_rhodecode]
141 [logger_rhodecode]
141 level = DEBUG
142 level = DEBUG
@@ -136,6 +136,7 b' level = INFO'
136 handlers = console
136 handlers = console
137 qualname = routes.middleware
137 qualname = routes.middleware
138 # "level = DEBUG" logs the route matched and routing variables.
138 # "level = DEBUG" logs the route matched and routing variables.
139 propagate = 0
139
140
140 [logger_rhodecode]
141 [logger_rhodecode]
141 level = DEBUG
142 level = DEBUG
@@ -136,6 +136,7 b' level = INFO'
136 handlers = console
136 handlers = console
137 qualname = routes.middleware
137 qualname = routes.middleware
138 # "level = DEBUG" logs the route matched and routing variables.
138 # "level = DEBUG" logs the route matched and routing variables.
139 propagate = 0
139
140
140 [logger_rhodecode]
141 [logger_rhodecode]
141 level = DEBUG
142 level = DEBUG
@@ -88,6 +88,8 b' class Repository(Base):'
88 user = relation('User')
88 user = relation('User')
89 fork = relation('Repository', remote_side=repo_id)
89 fork = relation('Repository', remote_side=repo_id)
90 repo_to_perm = relation('RepoToPerm', cascade='all')
90 repo_to_perm = relation('RepoToPerm', cascade='all')
91 stats = relation('Statistics', cascade='all')
92
91
93
92 def __repr__(self):
94 def __repr__(self):
93 return "<Repository('id:%s:%s')>" % (self.repo_id, self.repo_name)
95 return "<Repository('id:%s:%s')>" % (self.repo_id, self.repo_name)
@@ -134,5 +136,5 b' class Statistics(Base):'
134 commit_activity_combined = Column("commit_activity_combined", BLOB(), nullable=False)#JSON data
136 commit_activity_combined = Column("commit_activity_combined", BLOB(), nullable=False)#JSON data
135 languages = Column("languages", BLOB(), nullable=False)#JSON data
137 languages = Column("languages", BLOB(), nullable=False)#JSON data
136
138
137 repository = relation('Repository')
139 repository = relation('Repository', single_parent=True)
138
140
General Comments 0
You need to be logged in to leave comments. Login now