CorpusTableSeeder.php 252 B

1234567891011121314151617
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. use App\Models\\Corpus;
  4. class CorpusTableSeeder extends Seeder {
  5. public function run()
  6. {
  7. //DB::table('corpus')->delete();
  8. // CorpusTableSeeder
  9. Corpus::create(array(
  10. 'name' => 'wikipedia'
  11. ));
  12. }
  13. }