euricsanti / insurance-crm

This a CRM with the Laravel framework, it has appliances to manage an Insurance company administration, there are so few changes that could be implemented. Has user list, policies, dependants, point of sales, bank accounts, task assignation, an others.
MIT License
12 stars 11 forks source link

php artisan migrate - output: Nothing to migrate. #1

Open isidorodasilva opened 5 years ago

isidorodasilva commented 5 years ago

Hi im having issues to migrate the database on folder database/factories & database/seeds. error: Nothing to migrate.

please advise

euricsanti commented 5 years ago

Follow this instructions step by step. Should work fine. Requirements

1) Php >= 5.6.4 2) Composer installed on the root directory of the project. 3) Git installed and accessible on project root folder. 4) Please clone the repo 5) Please run 'composer update'. 6) Sql database created for the project, 7) Please create .env file from .env.example file and add the database settings. 8) Please run 'php artisan key:generate' in terminal to generate unique key in .env file for project. 9) Please give 'storage' directory write permissions.

On Thu, Feb 14, 2019 at 3:42 PM Isidoro Pedro da Silva Junior < notifications@github.com> wrote:

Hi im having issues to migrate the database on folder database/factories & database/seeds. error: Nothing to migrate.

please advise

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/euricanti/insurance-crm/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AX1RymoTQxYQHCa_7e-h5F78_PCR5axuks5vNbwUgaJpZM4a8TjY .

-- Euric Santi Inversionista | Escritor | Político +1 (829) 537-4848 | Instagram http://instagram.com/euricsanti | Twitter https://twitter.com/euricsanti | Facebook https://facebook.com/euricsanti ¡Los cambios empiezan desde adentro!

La información que se transmite en este correo es únicamente para la persona o entidad a la cual está dirigida y puede contener material confidencial. Cualquier revisión, retransmisión, diseminación u otro uso, está prohibida, sin antes consultar al remitente original. Si un usuario lo recibe por error, deberá contactar a quien lo envía y eliminar el material de su computador.

Aunque Euric Santi toma las precauciones pertinentes para evitar la presencia de virus computarizados, no podemos garantizar que este correo electrónico o cualquier archivo adjunto esté libre de ellos.

isidorodasilva commented 5 years ago

Thanks for the response ... please advise , do I need to create the tables manually or im doing something wrong to that the databases can't be migrate or connected?

Error output: SQLSTATE[42S02]: Base table or view not found: 1146

euricsanti commented 5 years ago

Check your table name, it shows table not found or mistakenly inputed. Check seed files and remember to modify them to the ones you'll apply or create new ones.

isidorodasilva commented 5 years ago

I had to create the tables manually, migrating seed one by one , migrating all @once wasn't working on my machine (example: php artisan db:seed --class=UserTableSeeder). on the last table User I couldnt migrate the same. do you have any advise for this error?

screen shot 2019-02-16 at 5 09 40 pm
isidorodasilva commented 5 years ago

I have inserted Manually the content to the database.

but the credentials to do not work, I even add an additional user to login.

I had to create the tables manually, migrating seed one by one , migrating all @once wasn't working on my machine (example: php artisan db:seed --class=UserTableSeeder). on the last table User I couldnt migrate the same. do you have any advise for this error?

screen shot 2019-02-16 at 5 09 40 pm
euricsanti commented 5 years ago

Is not gonna work if you don't hash the user password to MD5, the interface will not recognise plain text as password because decodes laravel Hash, on the user password you have to add:

"Hash::make('IWantToLoggin')" <- For example.

isidorodasilva commented 5 years ago

Hi, I was able to resolve the password issue, but now I have an error related to the Dashboard. and was reviewing the other options in Providers folder which I do believe they will required database , that would need me to create them manually again (eg. Bank, Manage_POS,Payment, permission and so on). is there an possibility to have an sample of. this tables ? until now I was not even capable to view the demo of this app, due to configuration issues. please support.

Regards

euricsanti commented 5 years ago

I used PhpMyAdmin to handle the database Manage_POS is set forth to handle Point of sale, I do not have documentation on it, but is possible to create it. Nor have an example available, but if you point out one specific one; i can give you feedback on it.

On Wed, Feb 20, 2019 at 11:51 PM Isidoro Pedro da Silva Junior < notifications@github.com> wrote:

Hi, I was able to resolve the password issue, but now I have an error related to the Dashboard. and was reviewing the other options in Providers folder which I do believe they will required database , that would need me to create them manually again (eg. Bank, Manage_POS,Payment, permission and so on). is there an possibility to have an sample of. this tables ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/euricsanti/insurance-crm/issues/1#issuecomment-465851872, or mute the thread https://github.com/notifications/unsubscribe-auth/AX1RypUy1OHcK-U3EYJprNEJxRPJzUQnks5vPhfGgaJpZM4a8TjY .

-- Euric Santi Inversionista | Escritor | Político +1 (829) 537-4848 | Instagram http://instagram.com/euricsanti | Twitter https://twitter.com/euricsanti | Facebook https://facebook.com/euricsanti ¡Los cambios empiezan desde adentro!

La información que se transmite en este correo es únicamente para la persona o entidad a la cual está dirigida y puede contener material confidencial. Cualquier revisión, retransmisión, diseminación u otro uso, está prohibida, sin antes consultar al remitente original. Si un usuario lo recibe por error, deberá contactar a quien lo envía y eliminar el material de su computador.

Aunque Euric Santi toma las precauciones pertinentes para evitar la presencia de virus computarizados, no podemos garantizar que este correo electrónico o cualquier archivo adjunto esté libre de ellos.

isidorodasilva commented 5 years ago

WOW ,

from where can I start, the project doesn't comply to the description, even on the Home page there are many things noticed on the database that don't show up, the options also don't exist , the database doesn't exist (create manually).

Please advise what version of Laravel did you use for starters ?

eliv3n commented 5 years ago

I am having the similar issue. any possibility tat you can provide the sql file?

please support