- First draft of current WIP
This commit is contained in:
commit
b73d046e0a
47 files changed
+2797
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Annotation\Property\Field;
|
||||
|
||||
class UpdatedAt extends \Ulmus\Annotation\Property\Field {
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->nullable = true;
|
||||
$this->type = "timestamp";
|
||||
$this->attributes['update'] = "CURRENT_TIMESTAMP";
|
||||
$this->attributes['default'] = null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user