2016-05-19 15:01:28 +01:00
|
|
|
<?php
|
|
|
|
|
2020-10-17 17:15:06 +01:00
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
use App\Models\MicropubClient;
|
2016-05-19 15:01:28 +01:00
|
|
|
use Illuminate\Database\Seeder;
|
2020-03-08 14:16:41 +00:00
|
|
|
use Illuminate\Support\Carbon;
|
2020-10-17 17:15:06 +01:00
|
|
|
use Illuminate\Support\Facades\DB;
|
2016-05-19 15:01:28 +01:00
|
|
|
|
|
|
|
class ClientsTableSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
DB::table('clients')->insert([
|
|
|
|
'client_url' => 'https://jbl5.dev/notes/new',
|
|
|
|
'client_name' => 'JBL5',
|
|
|
|
'created_at' => '2016-01-12 16:03:00',
|
|
|
|
'updated_at' => '2016-01-12 16:03:00',
|
|
|
|
]);
|
2020-03-08 14:16:41 +00:00
|
|
|
|
|
|
|
DB::table('clients')->insert([
|
|
|
|
'client_url' => 'https://beta.indigenous.abode.pub/ios/',
|
|
|
|
'client_name' => 'https://beta.indigenous.abode.pub/ios/',
|
|
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
|
|
]);
|
2020-10-17 17:15:06 +01:00
|
|
|
|
|
|
|
MicropubClient::factory(5)->create();
|
2016-05-19 15:01:28 +01:00
|
|
|
}
|
|
|
|
}
|