Add fields: task creator and modification date
This commit is contained in:
@@ -4,7 +4,13 @@ namespace Schema;
|
||||
|
||||
use Core\Security;
|
||||
|
||||
const VERSION = 20;
|
||||
const VERSION = 21;
|
||||
|
||||
function version_21($pdo)
|
||||
{
|
||||
$pdo->exec("ALTER TABLE tasks ADD COLUMN creator_id INTEGER DEFAULT '0'");
|
||||
$pdo->exec("ALTER TABLE tasks ADD COLUMN date_modification INTEGER DEFAULT '0'");
|
||||
}
|
||||
|
||||
function version_20($pdo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user