[RSS Feed/News] entity_structure Listener

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Following the "Let's build addon" I added two columns to xf_user table: av_aw_processed and av_aw_ignored.

PHP:

Code:
    public function installStep1()
    {
        $this->schemaManager()->alterTable('xf_user', function(Alter $table)
        {
            $table->addColumn('av_aw_processed', 'int')->setDefault(0);
        });
    }

    public function installStep2()
    {
        $this->schemaManager()->alterTable('xf_user', function(Alter $table)
        {...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom