Instead of "add_tables" you can use "change_columns" to update the type in a new migration file. Just specify the new array with the same column but the type needed. You can use revert schema in the new migration to go back to the original size if wanted.
https://area51.phpbb.com/docs/dev/3.2.x ... ge_columns
Code:
public function update_schema() { return [ 'change_columns' => [ $this->table_prefix . 'randomquotes' => [ 'randomquotes_id' => ['USINT:4', null, 'auto_increment'], ], ], ]; }
Statistics: Posted by Anișor — Fri Apr 25, 2025 7:50 am