LPS-33083 Adding audit fields, groupId, uuid to MBThreadFlag
LPS-33083 Change service implementation accordingly and apply changes
LSP-33083 Change upgrade process
LPS-33083 Source formatting
LPS-33083 Match what is in portal-tables.sql and MBThreadFlagTable! We must be careful not to type things out, but to copy and paste, or else an upgraded MBThreadFlag will be different from a brand new MBThreadFlag table (on a new Liferay instance).
LPS-33083 Move logic out of UpgradeMessageBoards and into the SQL file. The SQL file is always run first, so it is safe. The only time we use the *Tables to do the upgrade is when we alter an existing column type, or rename a column since that is not supported in DB2. Adding columns and deleting columns are supported in all DBs, so this is not necessary.
LPS-33083 Broken where MySQL is case sensitive, or any other DB that is case sensitive! Copy the same method from com.liferay.portal.upgrade.v6_2_0.UpgradeDocumentLibrary
LPS-33083 Rename methods to make it consistent with existing updateThreadFlag method
LPS-33083 No need to update the thread flag if the thread is not found (dirty data)
LPS-33083 Sort
LPS-33083 Apply super.doUpgrade pattern that was introduced in the previous commits, to other Upgrade classes. This is actually a better pattern than calling the same logic as in the super (in case he super method changes its impl)
LPS-33083 Autogenerated