Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

/utility/structure - nothing gets changed?

edited August 2010 in Vanilla 2.0 - 2.8
When I go to and run the the scripts, a message says everything is OK.
But when I click on rescan, I'm getting the same message as before:

The following structure changes are required for your database.

update GDN_Permission p2
inner join GDN_Category c
on c.CategoryID = p2.JunctionID
and p2.JunctionTable = 'Category'
and c.Name = 'General'
inner join GDN_Permission p
on p.RoleID = p2.RoleID
and p.JunctionTable is null
p.`Vanilla.Discussions.Add` = p2.`Vanilla.Discussions.Add`,
p.`Vanilla.Discussions.Edit` = p2.`Vanilla.Discussions.Edit`,
p.`Vanilla.Discussions.Announce` = p2.`Vanilla.Discussions.Announce`,
p.`Vanilla.Discussions.Sink` = p2.`Vanilla.Discussions.Sink`,
p.`Vanilla.Discussions.Close` = p2.`Vanilla.Discussions.Sink`,
p.`Vanilla.Discussions.Delete` = p2.`Vanilla.Discussions.Sink`,
p.`Vanilla.Discussions.View` = p2.`Vanilla.Discussions.Sink`,
p.`Vanilla.Comments.Add` = p2.`Vanilla.Discussions.Sink`,
p.`Vanilla.Comments.Edit` = p2.`Vanilla.Discussions.Sink`,
p.`Vanilla.Comments.Delete` = p2.`Vanilla.Discussions.Sink`
where p.RoleID <> 0;

No matter how often I run the scripts, the same problems keep coing up after the rescan!


Sign In or Register to comment.