示例#1
0
 def get_migration(self):
     environ.add_resource('opticalsql',
                          os.path.join(os.path.dirname(__file__), 'sql'))
     return PluginSchemaMigration(self.name, 'opticalsql', ['*.sql'])
示例#2
0
 def get_migration(self):
     return PluginSchemaMigration(self.name, 'optical', 'sql',
                                  ['*.sql', '*.py'])
示例#3
0
 def get_migration(self):
     return PluginSchemaMigration(self.name, 'books', 'sql', ['*.sql'])