make DiskSpace in storage table be int instead of unsigned. Event deletions can make it go negative and then the delete fails.
This commit is contained in:
parent
26ac1fd695
commit
73edd3221a
|
@ -841,7 +841,7 @@ CREATE TABLE `Storage` (
|
|||
`Path` varchar(64) NOT NULL default '',
|
||||
`Name` varchar(64) NOT NULL default '',
|
||||
`Type` enum('local','s3fs') NOT NULL default 'local',
|
||||
`DiskSpace` bigint unsigned default NULL,
|
||||
`DiskSpace` bigint default NULL,
|
||||
`Scheme` enum('Deep','Medium','Shallow') NOT NULL default 'Medium',
|
||||
`ServerId` int(10) unsigned,
|
||||
PRIMARY KEY (`Id`)
|
||||
|
|
Loading…
Reference in New Issue