Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

increase length of some string fields #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Orderly/PayPalIpnBundle/Entity/IpnLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class IpnLog
/**
* @var string $transactionType
*
* @ORM\Column(name="transaction_type", type="string", length=16, nullable=true)
* @ORM\Column(name="transaction_type", type="string", length=255, nullable=true)
*/
private $transactionType;

Expand Down Expand Up @@ -301,4 +301,4 @@ public function getUpdatedAt()
{
return $this->updatedAt;
}
}
}
2 changes: 1 addition & 1 deletion src/Orderly/PayPalIpnBundle/Entity/IpnOrders.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class IpnOrders
/**
* @var string $txnType
*
* @ORM\Column(name="txn_type", type="string", length=20, nullable=true)
* @ORM\Column(name="txn_type", type="string", length=255, nullable=true)
*/
private $txnType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DROP TABLE IF EXISTS `ipn_log`;
CREATE TABLE `ipn_log` (
`id` INT NOT NULL AUTO_INCREMENT,
listener_name varchar(3) default NULL COMMENT 'Either IPN or API',
transaction_type varchar(16) default NULL COMMENT 'The type of call being made to the listener',
transaction_type varchar(255) default NULL COMMENT 'The type of call being made to the listener',
transaction_id varchar(19) default NULL COMMENT 'The unique transaction ID generated by PayPal',
status varchar(16) default NULL COMMENT 'The status of the call',
message varchar(512) default NULL COMMENT 'Explanation of the call status',
Expand Down Expand Up @@ -74,7 +74,7 @@ CREATE TABLE `ipn_orders` (
shipping decimal(10,2) default NULL COMMENT 'Shipping charges associated with this transaction. Format unsigned, no currency symbol, two decimal places',
transaction_entity varchar(20) default NULL COMMENT 'Authorization and capture transaction entity',
txn_id varchar(19) default NULL COMMENT 'A unique transaction ID generated by PayPal',
txn_type varchar(20) default NULL COMMENT 'cart/express_checkout/send-money/virtual-terminal/web-accept',
txn_type varchar(255) default NULL COMMENT 'cart/express_checkout/send-money/virtual-terminal/web-accept',
exchange_rate decimal(10,2) default NULL COMMENT 'Exchange rate used if a currency conversion occured',
mc_currency varchar(3) default NULL COMMENT 'Three character country code. For payment IPN notifications, this is the currency of the payment, for non-payment subscription IPN notifications, this is the currency of the subscription.',
mc_fee decimal(10,2) default NULL COMMENT 'Transaction fee associated with the payment, mc_gross minus mc_fee equals the amount deposited into the receiver_email account. Equivalent to payment_fee for USD payments. If this amount is negative, it signifies a refund or reversal, and either ofthose p',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ IpnLog:
column: listener_name
transactionType:
type: string
length: 16
length: 255
fixed: false
nullable: true
column: transaction_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ IpnOrders:
column: txn_id
txnType:
type: string
length: 20
length: 255
fixed: false
nullable: true
column: txn_type
Expand Down