28 lines
1.5 KiB
PHP
28 lines
1.5 KiB
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class ConcessionSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('concessions')->insert(['name' => 'Vollpreis', 'perc' => 0, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'Frühbucherpreis', 'perc' => 0, 'global' => true, 'fixed' => false]);
|
|
DB::table('concessions')->insert(['name' => '2 zum Preis von einer', 'perc' => 50, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'Ehrenkarte', 'perc' => 100, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'Kinder und Jugendliche', 'perc' => 45, 'global' => true, 'fixed' => false]);
|
|
DB::table('concessions')->insert(['name' => 'Studierende', 'perc' => 45, 'global' => true, 'fixed' => false]);
|
|
DB::table('concessions')->insert(['name' => 'Menschen mit Behinderung', 'perc' => 45, 'global' => true, 'fixed' => false]);
|
|
DB::table('concessions')->insert(['name' => 'Ö1 Club', 'perc' => 10, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'Senioren', 'perc' => 10, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'OÖN Card', 'perc' => 10, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'Regiekarte', 'perc' => 45, 'global' => true]);
|
|
DB::table('concessions')->insert(['name' => 'Zivil- und Präsenzdiener', 'perc' => 45, 'global' => true]);
|
|
}
|
|
}
|