89 lines
2.5 KiB
PHP
89 lines
2.5 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class TransactionTypesTableSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Auto generated seed file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
|
|
\DB::table('transaction_types')->delete();
|
|
|
|
\DB::table('transaction_types')->insert(array (
|
|
0 =>
|
|
array (
|
|
'id' => 1,
|
|
'name' => 'Work',
|
|
'label' => 'Worked time: for the total time worked or helped',
|
|
'icon' => 'clock',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
1 =>
|
|
array (
|
|
'id' => 2,
|
|
'name' => 'Gift',
|
|
'label' => 'Gift: without something in return',
|
|
'icon' => 'gift',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
2 =>
|
|
array (
|
|
'id' => 3,
|
|
'name' => 'Donation',
|
|
'label' => 'Donation: to support the cause of this organization',
|
|
'icon' => 'hand-thumb-up',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
3 =>
|
|
array (
|
|
'id' => 4,
|
|
'name' => 'Currency creation',
|
|
'label' => 'Currency creation',
|
|
'icon' => 'bolt',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
4 =>
|
|
array (
|
|
'id' => 5,
|
|
'name' => 'Currency removal',
|
|
'label' => 'Currenct removal',
|
|
'icon' => 'bolt-slash',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
5 =>
|
|
array (
|
|
'id' => 6,
|
|
'name' => 'Migration',
|
|
'label' => 'Migration: to switch from one\'s own bank account',
|
|
'icon' => 'truck',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
6 =>
|
|
array (
|
|
'id' => 7,
|
|
'name' => 'Rounding correction',
|
|
'label' => 'Rounding correction: corrects balance drift from decimal-to-time format conversion',
|
|
'icon' => 'wrench',
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
));
|
|
|
|
|
|
}
|
|
} |