mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	fix(MySQL): wrong TIMESTAMP fields length
This commit is contained in:
		| @@ -49,6 +49,9 @@ export class MySQLClient extends AntaresCore { | ||||
|       if (['DATE', 'TIME', 'YEAR', 'DATETIME'].includes(name)) | ||||
|          length = field.decimals; | ||||
|  | ||||
|       if (name === 'TIMESTAMP') | ||||
|          length = 0; | ||||
|  | ||||
|       if (name === 'CHAR' && field.charsetNr === 63)// if binary | ||||
|          name = 'BINARY'; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user