X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Futil%2Fdata.py;h=65bf4b539d0f40cffb39e25b4c2b90b8493f3dac;hp=7f387b76451ab658aa3cd37e4e0499782bb08a08;hb=4d25f65e78ed2343cde4948172d876e084764731;hpb=c9ffd51879f375f1e9e326747130835e117c86e9 diff --git a/ipsilon/util/data.py b/ipsilon/util/data.py index 7f387b7..65bf4b5 100644 --- a/ipsilon/util/data.py +++ b/ipsilon/util/data.py @@ -739,6 +739,14 @@ class UserStore(Store): else: raise NotImplementedError() + def create_plugin_data_table(self, plugin_name): + if not self.is_readonly: + table = plugin_name+'_data' + q = self._query(self._db, table, OPTIONS_TABLE, + trans=False) + q.create() + q._con.close() # pylint: disable=protected-access + class TranStore(Store):