venturedrake / laravel-crm

Open Source Laravel CRM Package
https://laravelcrm.com
MIT License
251 stars 95 forks source link

Deals does not store into DB the name of a customer #55

Open krestt opened 6 months ago

krestt commented 6 months ago

Description:

Deals does not store into DB the name of a customer

Steps To Reproduce:

Create new deal, write customer name... create...

krestt commented 6 months ago

I kinda fixed it. It seems column client_id is missing from migration from create_deals_table.... so from phpmyadmin manualy I added client_id column and it worked.

krestt commented 6 months ago

I cant find the create_laravel_crm_deals_table migration file.

andrewdrake commented 6 months ago

Thanks for reporting, I'll take a look at this. For reference the initial migrations were run in the one file

2023_01_19_045623_create_laravel_crm_tables.php

There is an update migration that adds the client_id to the deals table however. So it is strange the client id was missing from your table.

2023_04_12_071404_add_client_to_laravel_crm_deals_table.php