wcs-olap: hash formdata and status table names when they are too long
This commit is contained in:
parent
f2f80cc6f2
commit
5836641e90
|
@ -525,11 +525,11 @@ class WcsFormdefFeeder(object):
|
|||
|
||||
@property
|
||||
def table_name(self):
|
||||
return 'formdata_%s' % self.formdef.slug.replace('-', '_')
|
||||
return self.hash_table_name('formdata_%s' % self.formdef.slug.replace('-', '_'))
|
||||
|
||||
@property
|
||||
def status_table_name(self):
|
||||
return 'status_%s' % self.formdef.slug.replace('-', '_')
|
||||
return self.hash_table_name('status_%s' % self.formdef.slug.replace('-', '_'))
|
||||
|
||||
def __getattr__(self, name):
|
||||
return getattr(self.olap_feeder, name)
|
||||
|
|
Reference in New Issue