Skip to content

Commit 9df2b19

Browse files
committed
tested filter with various FNs and Datatypes
1 parent 161708e commit 9df2b19

File tree

4 files changed

+684
-15
lines changed

4 files changed

+684
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It contains various search logics for different datatypes (numeric, text, date):
1414
5. Equals
1515
6. NotEquals
1616

17-
You can add custom your own search logic and datatype with ease :)
17+
You can add your own search logic and datatype with ease :)
1818

1919
## Installation
2020

@@ -77,7 +77,7 @@ Please review [our security policy](../../security/policy) on how to report secu
7777

7878
## Credits
7979

80-
- [Hamidreza Ranjbarpour](https://github.com/hamidrezaRanjbarpour)
80+
- [Hamidreza Ranjbarpour](https://github.com/hamidrezarj)
8181
- [All Contributors](../../contributors)
8282

8383
## License

database/factories/UserFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function definition()
1616
'name' => $this->faker->name(),
1717
'username' => $this->faker->userName(),
1818
'email' => $this->faker->email,
19-
// 'position' => $this->faker->randomElement(['boss']),
19+
'age' => $this->faker->numberBetween(1, 100),
2020
// 'city_id' => City::factory(),
2121
// 'province_id' => function (array $attributes) {
2222
// return City::find($attributes['city_id'])->province_id;

database/migrations/create_users_table.php.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ return new class extends Migration
1111
Schema::create('users', function (Blueprint $table) {
1212
$table->id();
1313
$table->string('name');
14+
$table->integer('age');
1415
$table->string('username')->unique();
1516
$table->string('email')->unique();
1617
$table->timestamps();

0 commit comments

Comments
 (0)