bumping version number to 1.0

This commit is contained in:
El RIDO 2016-08-25 09:53:31 +02:00
parent 2ee9325f49
commit e925833090
33 changed files with 67 additions and 36 deletions

View file

@ -7,7 +7,7 @@
* @link https://github.com/PrivateBin/PrivateBin
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
* @version 0.22
* @version 1.0
*/
namespace PrivateBin\Data;
@ -699,6 +699,13 @@ class Database extends AbstractData
'CREATE INDEX IF NOT EXISTS comment_parent ON ' .
self::_sanitizeIdentifier('comment') . '(pasteid);'
);
// no break, continue with updates for 0.22
case '0.22':
self::_exec(
'UPDATE ' . self::_sanitizeIdentifier('config') .
' SET value = ? WHERE id = ?',
array('1.0', 'VERSION')
);
}
}
}