Closed ferllings closed 3 years ago
The issue was due to the fact that both my Workflow id and my parent class name was 'Archive' and all the files are in the same model folder.
I fixed it my moving my workflow file into app/models/workflows/ folder
Hello, First of all, thanks for your awesome package, I've been using it since Yii1.
I have few similar models, named Archive1, Archive2...
I'm using a common base for each named Archive, where I've added the workflow behaviour.
My Workflow looks like:
When I try to save the model...
...I get the following error:
Looks like the workflow is trying to use the workflow name 'Archive' as table name, instead of the model name.
Is there a way to override that?
Thanks for your help.