mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-25 16:54:58 -04:00
- Change employee_id to INT(10) to match employees.person_id type - Remove seeder call from migration (causes issues in tests) - Add permission/module inserts directly in migration - Add proper down() method to drop FK and data - Remove seed reference from tests The foreign key was failing because: 1. employee_id was defined as unsigned INT(11) 2. employees.person_id is INT(10) NOT NULL (not unsigned) 3. Seeder call in migration caused multiple runs in tests