You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User was trying to backup the database using the Utilities tool, and gets a
Cannot Make Backup
Non-existant column requested: exp_m_accounts.account_active
I dig- field does exist. I describe:
account_active set('YES','NO')
Turns out, when figuring out the mysql table field types, we do (service/database/backup/query.php):
protected function getDataType($column_type)
{
$type = strtolower($column_type);
if (strpos($type, 'binary') !== false or
strpos($type, 'blob') !== false) {
return self::BINARY_TYPE;
} elseif (strpos($type, 'char') !== false or
strpos($type, 'text') !== false or
strpos($type, 'date') !== false or
strpos($type, 'time') !== false or
strpos($type, 'enum') !== false) {
return self::STRING_TYPE;
} elseif (strpos($type, 'int') !== false or
strpos($type, 'float') !== false or
strpos($type, 'double') !== false or
strpos($type, 'decimal') !== false) {
return self::NUMBER_TYPE;
}
}
And set is never included. I think it's an easy fix, but I couldn't figure out whether it should be a string or number type or... idk. So I'm dropping it here. Rare case, but... it happens.
The text was updated successfully, but these errors were encountered:
User was trying to backup the database using the Utilities tool, and gets a
I dig- field does exist. I describe:
Turns out, when figuring out the mysql table field types, we do (service/database/backup/query.php):
And set is never included. I think it's an easy fix, but I couldn't figure out whether it should be a string or number type or... idk. So I'm dropping it here. Rare case, but... it happens.
The text was updated successfully, but these errors were encountered: