File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-eloquent-flag ` will be documented in this file.
4
4
5
+ ## 1.1.0 - 2016-09-25
6
+
7
+ - ` is_published ` flag added.
8
+
5
9
## 1.0.0 - 2016-09-25
6
10
7
- - Initial release
11
+ - Initial release with only ` is_active ` flag.
Original file line number Diff line number Diff line change 7
7
8
8
Eloquent flagged attributes behavior.
9
9
10
- ## Flags list
10
+ ## Available flags list
11
11
12
- - Is Active
13
- - Is Published
12
+ - ` is_active `
13
+ - ` is_published `
14
14
15
15
## Installation
16
16
@@ -46,6 +46,8 @@ class Post extends Model
46
46
}
47
47
```
48
48
49
+ * Model must have boolean ` is_active ` column in database table.*
50
+
49
51
### Available functions
50
52
51
53
#### Get only active models
@@ -95,6 +97,8 @@ class Post extends Model
95
97
}
96
98
` ` `
97
99
100
+ * Model must have boolean ` is_published` column in database table.*
101
+
98
102
# ## Available functions
99
103
100
104
# ### Get only published models
You can’t perform that action at this time.
0 commit comments