cubicweb/misc/migration/3.9.0_Any.py
changeset 11057 0b59724cb3f2
parent 5768 1e73a466aa69
equal deleted inserted replaced
11052:058bb3dc685f 11057:0b59724cb3f2
       
     1 if repo.system_source.dbdriver == 'postgres':
       
     2     sql('ALTER TABLE appears ADD COLUMN weight float')
       
     3     sql('UPDATE appears SET weight=1.0 ')