tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
3.03k stars 988 forks source link

[Bug]: while installing fresh install automation plugin provides an error #896

Closed BlueRayNL closed 2 years ago

BlueRayNL commented 2 years ago

What happened?

while installing fresh install automation plugin provides an error ->

SQLSTATE[HY000]: General error: 1826 Duplicate FOREIGN KEY constraint name 'betafriet/fri_igniter_automation_rule_actions_automation_rule_id_foreign' (SQL: alter table fri_igniter_automation_rule_actions add constraint fri_igniter_automation_rule_actions_automation_rule_id_foreign foreign key (automation_rule_id) references fri_igniter_automation_rules (id) on delete cascade on update cascade)

What did you expect to happen?

no error

Version

3.0.4 (Stable)

What browser are you seeing the problem on?

Chrome

Relevant log output

SQLSTATE[HY000]: General error: 1826 Duplicate FOREIGN KEY constraint name 'betafriet/fri_igniter_automation_rule_actions_automation_rule_id_foreign' (SQL: alter table `fri_igniter_automation_rule_actions` add constraint `fri_igniter_automation_rule_actions_automation_rule_id_foreign` foreign key (`automation_rule_id`) references `fri_igniter_automation_rules` (`id`) on delete cascade on update cascade)