ContentMigration
extends Migration
in package
Table of Contents
Properties
- $modelName : string
Methods
- addTotalComment() : mixed
- addTotalPendingComment() : mixed
- addTotalPendingReply() : mixed
- addTotalReply() : mixed
- addTotalTagFriends() : mixed
- down() : void
- Reverse the migrations.
- up() : void
- Run the migrations.
Properties
$modelName
protected
string
$modelName
= \MetaFox\Blog\Models\Blog::class
Methods
addTotalComment()
public
addTotalComment(Model $model) : mixed
Parameters
- $model : Model
addTotalPendingComment()
public
addTotalPendingComment(Model $model) : mixed
Parameters
- $model : Model
addTotalPendingReply()
public
addTotalPendingReply(Model $model) : mixed
Parameters
- $model : Model
addTotalReply()
public
addTotalReply(Model $model) : mixed
Parameters
- $model : Model
addTotalTagFriends()
public
addTotalTagFriends(Model $model) : mixed
Parameters
- $model : Model
down()
Reverse the migrations.
public
down() : void
up()
Run the migrations.
public
up() : void