-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
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
Initial install script failing on db installation, tries to drop tables that don't exist #69
Comments
Yeah, delete that file and try again. If it works for you, I'll remove it from the source. |
Sorry, just read the last sentence :) Glad you got it sorted. I'll just remove that file from the source. Someone else had a similar problem, so it's clearly a consistent issue. |
Worth noting that this was fixable by just changing |
I am getting the same error on my installation, but couldn't figure out how to fix it. [root@snipeit snipeit]# php artisan db:seed [Illuminate\Database\QueryException] db:seed [--class[="..."]] [--database[="..."]] |
On running
php artisan app:install
I get the following error:
Migration table created successfully.
Migrated: 2012_12_06_225921_migration_cartalyst_sentry_install_users
Migrated: 2012_12_06_225929_migration_cartalyst_sentry_install_groups
Migrated: 2012_12_06_225945_migration_cartalyst_sentry_install_users_groups_pivot
Migrated: 2012_12_06_225988_migration_cartalyst_sentry_install_throttle
[Exception]
SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'posts' (SQL: drop table
posts
) (Bindings: array ())In /app/database/migrations/2013_11_25_000345_drop_comments_posts_tables.php there are instructions to drop the 'posts' and 'comments' schema but neither exists and they will cause errors that stop the migration.
I don't know much about the migrations as far as if that file can just be removed and things will work, but commenting out the two drop instructions did allow it to complete successfully.
The text was updated successfully, but these errors were encountered: