Support the ongoing development of Laravel.io →
posted 10 years ago
Database

Howdy folks.

WARNING: Deeply new to Laravel

So, I created a bunch of migrations and it only fails on one of them -- specifically, the creation of the tags table. Here's the error throw:

[Illuminate\Database\QueryException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'accumulate.tags' doesn't exist (SQL: alter table tags add id int unsigne d not null auto_increment primary key, add tag varchar(32) not null)

[PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'accumulate.tags' doesn't exist

All of the migrations were created as such:

php artisan make:migration create_<table>_table --table=<table>

The only table failing is the "tags" table, all others were created without errors. I can see no difference in the migration files other than the table name itself.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

gwinans gwinans Joined 2 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.