Browse Source

fixed: in Item do_migration_to_3(...) admin meta was called admin_meta (not meta_admin)

master
Tomasz Sowa 3 months ago
parent
commit
2dcfeaa688
  1. 2
      winixd/models/item.cpp

2
winixd/models/item.cpp

@ -283,7 +283,7 @@ bool Item::do_migration_to_3()
"update core.content set link_to = (select link_to from core.item where item.content_id = content.id limit 1);",
"update core.content set link_redirect = (select link_redirect from core.item where item.content_id = content.id limit 1);",
"update core.content set meta = (select meta from core.item where item.content_id = content.id limit 1);",
"update core.content set meta_admin = (select ameta from core.item where item.content_id = content.id limit 1);",
"update core.content set admin_meta = (select ameta from core.item where item.content_id = content.id limit 1);",
};
size_t len = sizeof(str) / sizeof(const char*);

Loading…
Cancel
Save