Created frames table with migration
This commit is contained in:
21
database/seeds/SeedCUG.php
Normal file
21
database/seeds/SeedCUG.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SeedCUG extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB::table('cugs')->insert([
|
||||
'created_at' => now(),
|
||||
'id' => 0,
|
||||
'name' => 'Public Frames',
|
||||
'note' => 'All frames belong to this CUG if not any other.',
|
||||
]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user