db update

  1. Cupara

    XF 2.0 Update/Insert to DB Table

    So I have learned to create tables using the Setup.php file but have found nada on doing updates and inserts to said table. $sm = \XF::db()->getSchemaManager(); $sm->createTable('xf_some_table', function(\XF\Db\Schema\Create $table) { $table->addColumn('some_id', 'int')->autoIncrement()...
Top Bottom