public function appendIsActiveColumn(SchemaSetupInterface $setup)
    {
        $setup->getConnection()->addColumn(
            $setup->getTable(ThesaurusInterface::TABLE_NAME),
            ThesaurusInterface::IS_ACTIVE,
            [
                'type'     => \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
                'nullable' => false,
                'default'  => 1,
                'comment'  => 'If the Thesaurus is active',
            ]
        );
    }
public function appendIsActiveColumn(SchemaSetupInterface $setup)
    {
        $setup->getConnection()->addColumn(
            $setup->getTable(ThesaurusInterface::TABLE_NAME),
            ThesaurusInterface::IS_ACTIVE,
            [
                'type'     => \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
                'nullable' => false,
                'default'  => 1,
                'comment'  => 'If the Thesaurus is active',
            ]
        );
    }
public function appendIsActiveColumn ( SchemaSetupInterface $ setup ) { $ setup -> getConnection ( ) -> addColumn ( $ setup -> getTable ( ThesaurusInterface :: TABLE_NAME ) , ThesaurusInterface :: IS_ACTIVE , [ 'type' => \ Magento \ Framework \ DB \ Ddl \ Table :: TYPE_SMALLINT , 'nullable' => false , 'default' => 1 , 'comment' => 'If the Thesaurus is active' , ] ) ; }
Add an "is_active" column to the Thesaurus table.

@param \Magento\Framework\Setup\SchemaSetupInterface $setup Setup instance
Add an is_active column to the Thesaurus table .