1 if repo.system_source.dbdriver == 'postgres':
2 sql('ALTER TABLE appears ADD COLUMN weight float')
3 sql('UPDATE appears SET weight=1.0 ')