mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 02:01:31 +00:00
fix(es_extended): widen billing.target to hold an identifier
The column is varchar(40) but esx_billing writes an identifier into it, and those are 46 characters once multicharacter is on, so the insert fails with 1406 and the handler dies before notifying either player. The other two identifier columns in the same table are already varchar(60).
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ CREATE TABLE `billing` (
|
||||
`identifier` varchar(60) NOT NULL,
|
||||
`sender` varchar(60) NOT NULL,
|
||||
`target_type` varchar(50) NOT NULL,
|
||||
`target` varchar(40) NOT NULL,
|
||||
`target` varchar(60) NOT NULL,
|
||||
`label` varchar(255) NOT NULL,
|
||||
`amount` int(11) NOT NULL
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
Reference in New Issue
Block a user