How to add custom column for laravel 'notifications' table -
i want add ref_no column notifications table. have ref_no column in appointments table. when 1 add new appointment wanna update ref_no columns in both tables. click on notifications panel wanna open appointments table ( not notifications). when click on appointment wanna delete relevant row notifications table.
appointments table id | date | ref_no default notifications table added ref_no column
id | type | notifiable_id | notifiable_type | data | read_at | created_at | updated_at | ref_no
Comments
Post a Comment