public function install()

in Setup/InstallSchema.php [16:51]


    public function install(SchemaSetupInterface $installer, ModuleContextInterface $context)
    {
        $installer->startSetup();
        $installer->getConnection()->dropTable($installer->getTable(self::FBE_CONFIG_TABLE_NAME));
        $table = $installer->getConnection()->newTable(
            $installer->getTable(self::FBE_CONFIG_TABLE_NAME)
        )->addColumn(
            'config_key',
            \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
            255,
            ['nullable' => false, 'primary' => true],
            'Config Key'
        )->addColumn(
            'config_value',
            \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
            255,
            ['nullable' => false, 'default' => ''],
            'Config Value'
        )->addColumn(
            'creation_time',
            \Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
            null,
            [
            ],
            'Creation Time'
        )->addColumn(
            'update_time',
            \Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
            null,
            [
            ],
            'Modification Time'
        );
        $installer->getConnection()->createTable($table);
        $installer->endSetup();
    }