Блокировка адресов, журнал подозрительной активности, срок жизни ключей API
This commit is contained in:
1 parent
3a04ee5bb3
commit
20f3d79552
20 files changed
+1042
-6
No files matched your search
@@ -131,6 +131,15 @@ abstract class Model implements JsonSerializable
|
||||
return $this->timestamps;
|
||||
}
|
||||
|
||||
/**
|
||||
* Есть ли такая колонка в таблице — нужно массовому обновлению: отметку
|
||||
* времени нельзя ставить там, где её не предусмотрели схемой.
|
||||
*/
|
||||
public function usesColumn(string $column): bool
|
||||
{
|
||||
return $this->hasColumn($column);
|
||||
}
|
||||
|
||||
public function softDeletes(): bool
|
||||
{
|
||||
return $this->softDelete;
|
||||
|
||||
Reference in new issue
Block a user