Skip to content

Instantly share code, notes, and snippets.

@jyhsu2000
Created August 25, 2017 05:12
Show Gist options
  • Save jyhsu2000/fe3d5c8887f6d2d1515b4b4d3162ebf0 to your computer and use it in GitHub Desktop.
Save jyhsu2000/fe3d5c8887f6d2d1515b4b4d3162ebf0 to your computer and use it in GitHub Desktop.
DB::statement('SET FOREIGN_KEY_CHECKS=0');
DB::table('products')->truncate();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment