Thank you rxu for the guidance and link, I'll work on that right away.
Eidt: 2 hours later, and I couldn't figure that out or even get close to it. I'm not much of a programmer.
And I could not find an example out there where someone has used update_data to change the value in a users column.
I was thinking I could do a work around all of that and use the update_schema to replace that column.I'm sure I have some programmers out there shanking their heads at me... like
what is he doing?
Hey, a simple mind has to take the simple road.![Image]()
Eidt: 2 hours later, and I couldn't figure that out or even get close to it. I'm not much of a programmer.
And I could not find an example out there where someone has used update_data to change the value in a users column.
I was thinking I could do a work around all of that and use the update_schema to replace that column.
Code:
public function update_schema(){return array('drop_columns'=> array($this->table_prefix . 'users'=> array('user_dark_style',),),'add_columns'=> array($this->table_prefix . 'users'=> array('user_dark_style'=> array('BOOL', 1),),),);}

Hey, a simple mind has to take the simple road.

Statistics: Posted by Sniper_E — Tue Mar 11, 2025 6:05 am