Sync/DiffProvider/SyncJobs/TableManager.php
protected function buildTable(Table $table)
    {
        $table->addColumn('id', 'bigint')
            ->setUnsigned(true)
            ->setAutoincrement(true);

        $table->addColumn('type', 'string')
            ->setLength(1)
            ->setComment('C-CREATE(INSERT),U-UPDATE,D-DELETE');

        $table->addColumn('document_type', 'string')
            ->setLength(32);

        $table->addColumn('document_id', 'string')
            ->setLength(32);

        $table->addColumn('update_type', 'smallint')
            ->setDefault(1)
            ->setComment('0-partial,1-full');

        $table->addColumn('timestamp', 'datetime');

        $table->setPrimaryKey(['id']);

        $this->addStatusField($table);
    }
protected function buildTable(Table $table)
    {
        $table->addColumn('id', 'bigint')
            ->setUnsigned(true)
            ->setAutoincrement(true);

        $table->addColumn('type', 'string')
            ->setLength(1)
            ->setComment('C-CREATE(INSERT),U-UPDATE,D-DELETE');

        $table->addColumn('document_type', 'string')
            ->setLength(32);

        $table->addColumn('document_id', 'string')
            ->setLength(32);

        $table->addColumn('update_type', 'smallint')
            ->setDefault(1)
            ->setComment('0-partial,1-full');

        $table->addColumn('timestamp', 'datetime');

        $table->setPrimaryKey(['id']);

        $this->addStatusField($table);
    }
Builds table structure.

@param Table $table