Skip to content

Commit

Permalink
Default birth date to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardog committed Jul 24, 2018
1 parent aef7a4e commit 00e1626
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion boost/boost.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

$proper_name = 'Internship Inventory';
$version = '0.5.0';
$version = '0.5.1';
$register = false;
$unregister = false;
$import_sql = true;
Expand Down
2 changes: 2 additions & 0 deletions boost/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions boost/updates/update_00.05.01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table intern_internship alter column birth_date set default 0;

0 comments on commit 00e1626

Please sign in to comment.