Skip to content

Commit ac8b563

Browse files
committed
Changelog & readme updated.
1 parent 79bc628 commit ac8b563

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-eloquent-flag` will be documented in this file.
44

5+
## 1.1.0 - 2016-09-25
6+
7+
- `is_published` flag added.
8+
59
## 1.0.0 - 2016-09-25
610

7-
- Initial release
11+
- Initial release with only `is_active` flag.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
Eloquent flagged attributes behavior.
99

10-
## Flags list
10+
## Available flags list
1111

12-
- Is Active
13-
- Is Published
12+
- `is_active`
13+
- `is_published`
1414

1515
## Installation
1616

@@ -46,6 +46,8 @@ class Post extends Model
4646
}
4747
```
4848

49+
*Model must have boolean `is_active` column in database table.*
50+
4951
### Available functions
5052

5153
#### Get only active models
@@ -95,6 +97,8 @@ class Post extends Model
9597
}
9698
```
9799
100+
*Model must have boolean `is_published` column in database table.*
101+
98102
### Available functions
99103
100104
#### Get only published models

0 commit comments

Comments
 (0)