/* Decoded by unphp.net */ table('comments') ->addColumn('user_id', 'char', [ 'default' => null, 'limit' => 36, 'null' => false, ]) ->save(); // Populate user_id with the content of created_by. $this->query('UPDATE comments SET user_id=created_by'); } } ?>