Error when add a new storage

Forum for questions and support relating to the 1.31.x releases only.
Locked
juanmoura
Posts: 91
Joined: Fri Nov 24, 2017 11:46 am

Error when add a new storage

Post by juanmoura »

When i add a new storage this error appears to me into the log.

SQL-ERR 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'DoDelete' in 'field list'', statement was 'INSERT INTO Storage set `Name` = 'STORAGE_4TB', `Path` = '/storage_4TB', `Url` = NULL, `ServerId` = '1', `Type` = 'local', `Scheme` = 'Medium', `DoDelete` = '1'' params:

And the storage does not appear to me.
User avatar
iconnor
Posts: 2896
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Error when add a new storage

Post by iconnor »

I'll try to get an update out tomorrow (the 11th) to fix this. In the meantime

paste into mysql

ALTER TABLE `Storage` ADD `DoDelete` BOOLEAN NOT NULL default true AFTER `ServerId`
juanmoura
Posts: 91
Joined: Fri Nov 24, 2017 11:46 am

Re: Error when add a new storage

Post by juanmoura »

Yes, all right now.
One question, what's StorageDoDelete ?
Locked