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

This commit is contained in:
Tomasz Sowa 2021-07-07 01:04:48 +02:00
parent 9d65d931d0
commit 2dcfeaa688
1 changed files with 1 additions and 1 deletions

View File

@ -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*);