File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ $table->smallInteger('status'); // 2 byte -> maximum of 16 different values
2121$table->unsignedSmallInteger('status'); // maximum of 17 different values
2222$table->mediumInteger('status'); // 3 byte -> maximum of 24 different values
2323```
24- You get the idea. Most times, you probably only need an unsigned tinyInteger :)
24+ You get the idea. Most times you probably only need an unsigned tinyInteger :)
25+
2526There are only a few use-cases, but you can add as many fields as you like.
2627
2728Include the Trait in your model like this:
@@ -63,7 +64,7 @@ To make your life easier, I recommend to use custom getters and setters.
6364 */
6465 public function setSentAttribute($sent = true)
6566 {
66- return $this->setFlag('status',MESSAGE_SENT, $sent);
67+ return $this->setFlag('status', MESSAGE_SENT, $sent);
6768 }
6869
6970 /**
You can’t perform that action at this time.
0 commit comments