We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using seed generator, table without any data are being seeded even if they have no data:
DB::table('my_table')->insert(array());
producing an error when launching the seed:
Illuminate\Database\Query\Builder::insert() must be of the type array, none given
The text was updated successfully, but these errors were encountered:
Tried with an empty table and got this seed file generated:
public function run() { DB::table('users')->insert( ); }
Sorry, something went wrong.
No branches or pull requests
When using seed generator, table without any data are being seeded even if they have no data:
producing an error when launching the seed:
The text was updated successfully, but these errors were encountered: