Skip to content

Instantly share code, notes, and snippets.

@7LayersDesign
Created September 9, 2013 16:09
Show Gist options
  • Save 7LayersDesign/6497869 to your computer and use it in GitHub Desktop.
Save 7LayersDesign/6497869 to your computer and use it in GitHub Desktop.
Laravel table seeder template.
<?php
class MyTableTableSeeder extends Seeder {
public function run()
{
DB::table('MyTable')->truncate();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment