コード例 #1
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::table('scopes')->truncate();
     Scopes::insert([['id' => 1, 'scope' => 'TradeShow', 'craft' => 'TradeShow'], ['id' => 2, 'scope' => 'ShipWright', 'craft' => 'ShipWright'], ['id' => 3, 'scope' => 'Concrete - Horizontal Decks', 'craft' => 'Concrete'], ['id' => 4, 'scope' => 'Concrete - VerticalConcrete - Flatwork', 'craft' => 'Concrete'], ['id' => 5, 'scope' => 'Concrete - Tiltups', 'craft' => 'Concrete'], ['id' => 6, 'scope' => 'Acoustical', 'craft' => 'Interior Systems'], ['id' => 7, 'scope' => 'CleanRoom', 'craft' => 'Interior Systems'], ['id' => 8, 'scope' => 'Demountable Partitions & Furniture', 'craft' => 'Interior Systems'], ['id' => 9, 'scope' => 'Drywall', 'craft' => 'Interior Systems'], ['id' => 10, 'scope' => 'Firestopping & Expansion Joints', 'craft' => 'Interior Systems']]);
 }