table_prefix . 'users' refers to the table, so that would be phpbb_users, unless you used a different prefix differ, in which case it would be your_prefix_usersHi guys, can anyone help me? I would like to insert a column into the database manually, but I don't know the code exactly, I had an extension conflict and had to delete a column to solve the problem, but now I need to return the column for the original extension to work
This is the code in the extension's php file, I don't know if it helpsCode:
return ['add_columns'=> [$this->table_prefix . 'users'=> ['user_points'=> ['DECIMAL:14', 0.00],],
add columns refers to adding a new field, in this case user_points with format DECIMAL 14 and with as default value 0.00
BTW you're not adding a column to the database but to a table.
Statistics: Posted by warmweer — Thu Jan 30, 2025 8:24 pm