getConnection() ->newTable($installer->getTable('paypal/payment_transaction')) ->addColumn('transaction_id', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array( 'identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true, ), 'Entity Id') ->addColumn('txn_id', Varien_Db_Ddl_Table::TYPE_TEXT, 100, array( ), 'Txn Id') ->addColumn('additional_information', Varien_Db_Ddl_Table::TYPE_BLOB, '64K', array( ), 'Additional Information') ->addColumn('created_at', Varien_Db_Ddl_Table::TYPE_TIMESTAMP, null, array( ), 'Created At') ->addIndex( $installer->getIdxName( 'paypal/payment_transaction', array('txn_id'), Varien_Db_Adapter_Interface::INDEX_TYPE_UNIQUE ), array('txn_id'), array('type' => Varien_Db_Adapter_Interface::INDEX_TYPE_UNIQUE)) ->setComment('PayPal Payflow Link Payment Transaction'); $installer->getConnection()->createTable($table);