Inpsyde\MultilingualPress\Installation\Updater::update_type_column PHP Method

update_type_column() private method

Updates invalid type field entries in the content relations table.
private update_type_column ( ) : void
return void
    private function update_type_column()
    {
        $table = $this->content_relations_table->name();
        $this->db->query("UPDATE {$table} set ml_type = 'post' WHERE ml_type NOT IN('post','term')");
    }