diff --git a/boost/boost.php b/boost/boost.php index 0849cbfb..e7f3a3ad 100644 --- a/boost/boost.php +++ b/boost/boost.php @@ -4,7 +4,7 @@ */ $proper_name = 'Internship Inventory'; -$version = '0.5.0'; +$version = '0.5.1'; $register = false; $unregister = false; $import_sql = true; diff --git a/boost/update.php b/boost/update.php index 26de0021..84307226 100644 --- a/boost/update.php +++ b/boost/update.php @@ -133,6 +133,8 @@ function intern_update(&$content, $currentVersion) Users_Permission::registerPermissions('intern', $content); case version_compare($currentVersion, '0.5.0', '<') : internRunDbMigration('update_00.05.00.sql'); + case version_compare($currentVersion, '0.5.1', '<') : + internRunDbMigration('update_00.05.01.sql'); } return TRUE; diff --git a/boost/updates/update_00.05.01.sql b/boost/updates/update_00.05.01.sql new file mode 100644 index 00000000..674bc30d --- /dev/null +++ b/boost/updates/update_00.05.01.sql @@ -0,0 +1 @@ +alter table intern_internship alter column birth_date set default 0; \ No newline at end of file