Subaddresses
`payment_id` column extended to fit a subaddress over a 16 char payment id
This commit is contained in:
		
							parent
							
								
									ba395d507e
								
							
						
					
					
						commit
						7e48521570
					
				| @ -209,7 +209,7 @@ function monero_install() { | ||||
|     if($wpdb->get_var("show tables like '$table_name'") != $table_name) { | ||||
|         $sql = "CREATE TABLE $table_name (
 | ||||
|                order_id BIGINT(20) UNSIGNED NOT NULL, | ||||
|                payment_id VARCHAR(16) DEFAULT '' NOT NULL, | ||||
|                payment_id VARCHAR(100) DEFAULT '' NOT NULL, | ||||
|                currency VARCHAR(6) DEFAULT '' NOT NULL, | ||||
|                rate BIGINT UNSIGNED DEFAULT 0 NOT NULL, | ||||
|                amount BIGINT UNSIGNED DEFAULT 0 NOT NULL, | ||||
| @ -226,7 +226,7 @@ function monero_install() { | ||||
|     if($wpdb->get_var("show tables like '$table_name'") != $table_name) { | ||||
|         $sql = "CREATE TABLE $table_name (
 | ||||
|                id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, | ||||
|                payment_id VARCHAR(16) DEFAULT '' NOT NULL, | ||||
|                payment_id VARCHAR(100) DEFAULT '' NOT NULL, | ||||
|                txid VARCHAR(64) DEFAULT '' NOT NULL, | ||||
|                amount BIGINT UNSIGNED DEFAULT 0 NOT NULL, | ||||
|                height MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user