1

So I just try to run the project, I have migrate the database but, when I run it shows the following error message:

 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dompet_db.transactions' doesn't exist.

enter image description here

Please help me.

4
  • check the migration table transactions Commented Feb 21, 2019 at 5:04
  • The error says that the table named transactions is not present in the database. Check your migrations to make sure that you have a migration for this table and then run php artisan migrate Commented Feb 21, 2019 at 5:08
  • Yes check if migration file exist in "database/migrations" Commented Feb 21, 2019 at 5:11
  • Ive done it, but error message still showed up Commented Feb 22, 2019 at 10:53

1 Answer 1

1

These are the usual steps that we do while cloning a project.

  1. clone the repo
  2. composer install
  3. cp .env.example .env (copy .env.example and create .env file)
  4. configure the database DB_DATABASE, DB_USERNAME, DB_PASSWORD
  5. php artisan key:generate (generates encryption key)
  6. php artisan migrate (run seeders if any)
  7. chmod -R 777 bootstrap/ storage/ (to grant permissions to folders if required)

Make sure you followed each step

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.