Menu

#340 Some subjects tags are associated with VTs

v1.0 (example)
closed-fixed
5
2014-02-02
2013-02-27
Ahasuerus
No

Some subjects tags are associated with VTs. They need to be moved to their respective parent/canonical titles.

Discussion

  • Bill Longley

    Bill Longley - 2013-03-06

    Simple solution:

    update tag_mapping tm
    set tm.title_id = (select t.title_parent
    from titles t
    where t.title_id = tm.title_id)
    WHERE EXISTS (select t.title_parent
    from titles t
    where t.title_id = tm.title_id
    and t.title_parent != 0)

    This will double up some tags, but that seems less of a problem

     
  • Ahasuerus

    Ahasuerus - 2014-02-02
    • status: open --> closed-fixed
    • assigned_to: Ahasuerus
    • Group: --> v1.0 (example)
     
  • Ahasuerus

    Ahasuerus - 2014-02-02

    Fixed in scripts/move_VTs_tags.sql 1.1, installed in r2014-74 on 2014-02-02. Closing.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB