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
Hey there,
I tried to change a column type from INT to VARCHAR and I used this command, but I got no result/error. $db->query("ALTER TABLE tablename CHANGE balance balance VARCHAR(300) NOT NULL;");
Would you please help me out?
Thanks.
The text was updated successfully, but these errors were encountered:
Just make sure the database can execute the query successfully based on the version. Because query() is just executing the query alone for the database.
Hey there,
I tried to change a column type from INT to VARCHAR and I used this command, but I got no result/error.
$db->query("ALTER TABLE tablename CHANGE balance balance VARCHAR(300) NOT NULL;");
Would you please help me out?
Thanks.
The text was updated successfully, but these errors were encountered: