We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d2a3c commit 778a8daCopy full SHA for 778a8da
tests/stubs/ProfileModel.php
@@ -15,6 +15,7 @@ class ProfileModel extends Model
15
use SoftDelete;
16
17
protected $table = 'test_profile';
18
+ protected $autoWriteTimestamp = true;
19
20
/**
21
* 用户
tests/stubs/UserModel.php
@@ -13,6 +13,7 @@ class UserModel extends Model
13
{
14
protected $table = 'test_user';
protected $pk = 'id';
+ protected $autoWriteTimestamp = false;
* 用户资料
0 commit comments