equal
deleted
inserted
replaced
104 |
104 |
105 This is expected to be called once, by the master store in master/slaves configuration. |
105 This is expected to be called once, by the master store in master/slaves configuration. |
106 """ |
106 """ |
107 assert not self.slave_mode |
107 assert not self.slave_mode |
108 if self not in self._initialized: |
108 if self not in self._initialized: |
|
109 self.sql('DROP TABLE IF EXISTS cwmassive_initialized') |
109 self.sql('CREATE TABLE cwmassive_initialized' |
110 self.sql('CREATE TABLE cwmassive_initialized' |
110 '(retype text, type varchar(128), uuid varchar(32))') |
111 '(retype text, type varchar(128), uuid varchar(32))') |
111 self._initialized[self] = None |
112 self._initialized[self] = None |
112 if commit: |
113 if commit: |
113 self.commit() |
114 self.commit() |