Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/web/commons/schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -12064,3 +12064,15 @@ function () {
. "physical memory. (Default 275000)' "
. "WHERE `settingKey` = 'FOG_KERNEL_RAMDISK_SIZE'",
];
// 446
$this->schema[] = [
// Step 279 again. It widened these two columns from 1.5's
// VARCHAR(40) NOT NULL, but a 1.5.x server carries a count past 279 and
// skips it, and SchemaReconciler never retypes an existing column. So an
// upgraded server kept the 40-character limit that a fresh install does
// not have (GH-2000). Widening keeps every stored value, and on a server
// that already ran 279 this changes nothing.
"ALTER TABLE `users` "
. "MODIFY `uName` VARCHAR(255),"
. "MODIFY `uCreateBy` VARCHAR(255)"
];
2 changes: 1 addition & 1 deletion packages/web/src/Base/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function __construct()
// 1.5.x carried count does, see SchemaReconciler's docstring -- is
// permanently "up to date" from the updater's point of view and will
// never run another indexed step, whatever this constant says.
define('FOG_SCHEMA', 445);
define('FOG_SCHEMA', 446);
define('FOG_BCACHE_VER', 370);
define('FOG_CLIENT_VERSION', '0.13.0');
// GH-959: iPXE lives in FOGProject/fog-ipxe and its binaries arrive as
Expand Down
Loading