##// END OF EJS Templates
beaker: add patch for metadata re-use
marcink -
r2758:23866423 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
@@ -28,6 +28,7 b' self: super: {'
28 beaker = super.beaker.override (attrs: {
28 beaker = super.beaker.override (attrs: {
29 patches = [
29 patches = [
30 ./patch-beaker-lock-func-debug.diff
30 ./patch-beaker-lock-func-debug.diff
31 ./patch-beaker-metadata-reuse.diff
31 ];
32 ];
32 });
33 });
33
34
General Comments 0
You need to be logged in to leave comments. Login now