A few key changes to fix upgrade errors
applications/videos/setup/upg_100001/upgrade.php
\IPS\Db::i()->changeColumn( 'videos_cat', 'cid', array(
'name' => 'id',
'type' => 'mediumint',
'auto_increment' => true,
'length' => 5,
'allow_null' => false,
'default' => null
) );
/* Clear cache */
unset( \IPS\Data\Store::i()->storageConfigurations );
\IPS\Settings::i()->clearCache();
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.