##// END OF EJS Templates
beaker: add patch for metadata re-use
marcink -
r447:eb8a667d default
parent child Browse files
Show More
@@ -0,0 +1,13 b''
1 diff -rup Beaker-1.9.1-orig/beaker/ext/database.py Beaker-1.9.1/beaker/ext/database.py
2 --- Beaker-1.9.1-orig/beaker/ext/database.py 2018-05-22 18:22:34.802619619 +0200
3 +++ Beaker-1.9.1/beaker/ext/database.py 2018-05-22 17:07:14.048335196 +0200
4 @@ -91,7 +91,8 @@ class DatabaseNamespaceManager(OpenResou
5 sa.Column('created', types.DateTime, nullable=False),
6 sa.Column('data', types.PickleType, nullable=False),
7 sa.UniqueConstraint('namespace'),
8 - schema=schema_name if schema_name else meta.schema
9 + schema=schema_name if schema_name else meta.schema,
10 + extend_existing=True
11 )
12 cache.create(checkfirst=True)
13 return cache
@@ -15,6 +15,7 b' self: super: {'
15 beaker = super.beaker.override (attrs: {
15 beaker = super.beaker.override (attrs: {
16 patches = [
16 patches = [
17 ./patch-beaker-lock-func-debug.diff
17 ./patch-beaker-lock-func-debug.diff
18 ./patch-beaker-metadata-reuse.diff
18 ];
19 ];
19 });
20 });
20
21
General Comments 0
You need to be logged in to leave comments. Login now