Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #6368 Some older tokens tables don't have all required fi…
…elds - lists, exports & searches fail - system checks for existence of fields and creates them if needed (would love confirmation from postgres db that this works ok for them)
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
383e06f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcleeland This won't work properly, because the YIi own addCokumn function is kind of limited. Rather use the ones from the the upgrade helper.
383e06f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I test ith pg: create token table, delete 3 columns
Look OK, with index ?
383e06f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example: it will create a text field in MSSQL whereas it should create a varchar(max) field. The helper routines in the upgrade helper will take care of that.