Added factory and seeder for sub-bookings.

This commit is contained in:
Lukas Halbritter
2018-09-20 16:48:56 +02:00
parent c9bc400308
commit b38d7ea54e
4 changed files with 57 additions and 5 deletions
+1 -2
View File
@@ -2,11 +2,10 @@
use Faker\Generator as Faker;
use Carbon\Carbon;
use Carbon\CarbonPeriod;
$factory->define(App\MemberState::class, function (Faker $faker) {
return [
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
];
});