DossierTypeSeeder.php
1 <?php 2 3 namespace Database\Seeders; 4 5 use Illuminate\Database\Seeder; 6 use Illuminate\Support\Facades\DB; 7 8 class DossierTypeSeeder extends Seeder 9 { 10 /** 11 * Seed the application's database. 12 * 13 * @return void 14 */ 15 public function run() 16 { 17 // DOSSIERS 18 19 DB::table('dossier_types')->insert([ 20 'name' => 'Certification', 21 ]); 22 23 DB::table('dossier_types')->insert([ 24 'name' => 'Validity review', 25 ]); 26 27 DB::table('dossier_types')->insert([ 28 'name' => 'Accreditation', 29 ]); 30 31 DB::table('dossier_types')->insert([ 32 'name' => 'New', 33 'parent_id' => 1, 34 ]); 35 36 DB::table('dossier_types')->insert([ 37 'name' => 'Maintenance', 38 'parent_id' => 1, 39 ]); 40 41 DB::table('dossier_types')->insert([ 42 'name' => 'Recertification', 43 'parent_id' => 1, 44 ]); 45 46 DB::table('dossier_types')->insert([ 47 'name' => 'Renewal', 48 'parent_id' => 1, 49 ]); 50 51 DB::table('dossier_types')->insert([ 52 'name' => 'Follow-up', 53 'parent_id' => 2, 54 ]); 55 56 DB::table('dossier_types')->insert([ 57 'name' => 'New', 58 'parent_id' => 3, 59 ]); 60 61 DB::table('dossier_types')->insert([ 62 'name' => 'Scope extension', 63 'parent_id' => 3, 64 ]); 65 66 DB::table('dossier_types')->insert([ 67 'name' => 'Common Criteria Certification', 68 'parent_id' => 4, 69 ]); 70 DB::table('dossier_types')->insert([ 71 'name' => 'LINCE Certification', 72 'parent_id' => 4, 73 ]); 74 DB::table('dossier_types')->insert([ 75 'name' => 'ITSEC Certification', 76 'parent_id' => 4, 77 ]); 78 DB::table('dossier_types')->insert([ 79 'name' => 'ISO Certification', 80 'parent_id' => 4, 81 ]); 82 DB::table('dossier_types')->insert([ 83 'name' => 'STIC Certification', 84 'parent_id' => 4, 85 ]); 86 DB::table('dossier_types')->insert([ 87 'name' => 'Others', 88 'parent_id' => 4, 89 ]); 90 91 DB::table('dossier_types')->insert([ 92 'name' => 'Common Criteria OEL Certification', 93 'parent_id' => 5, 94 ]); 95 DB::table('dossier_types')->insert([ 96 'name' => 'ITSEC OEL Certification', 97 'parent_id' => 5, 98 ]); 99 100 DB::table('dossier_types')->insert([ 101 'name' => 'Common Criteria Certification', 102 'parent_id' => 6, 103 ]); 104 DB::table('dossier_types')->insert([ 105 'name' => 'ITSEC Certification', 106 'parent_id' => 6, 107 ]); 108 109 DB::table('dossier_types')->insert([ 110 'name' => 'Common Criteria OEL Certification', 111 'parent_id' => 7, 112 ]); 113 114 DB::table('dossier_types')->insert([ 115 'name' => 'Common Criteria Certification', 116 'parent_id' => 8, 117 ]); 118 119 DB::table('dossier_types')->insert([ 120 'name' => 'Cryptologic Certification', 121 'parent_id' => 8, 122 ]); 123 124 DB::table('dossier_types')->insert([ 125 'name' => 'Accreditation review', 126 'parent_id' => 8, 127 ]); 128 129 DB::table('dossier_types')->insert([ 130 'name' => 'Common Criteria Accreditation', 131 'parent_id' => 9, 132 ]); 133 DB::table('dossier_types')->insert([ 134 'name' => 'LINCE Accreditation', 135 'parent_id' => 9, 136 ]); 137 DB::table('dossier_types')->insert([ 138 'name' => 'Others', 139 'parent_id' => 9, 140 ]); 141 142 DB::table('dossier_types')->insert([ 143 'name' => 'Scope extension', 144 'parent_id' => 10, 145 ]); 146 DB::table('dossier_types')->insert([ 147 'name' => 'Technical domain accreditation', 148 'parent_id' => 10, 149 ]); 150 } 151 }