Replies: 2 comments 5 replies
-
|
I don't think all the changes are completed. @asanovr any idea what other changes are needed? |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
@joni1993 I use string ids like this <?php
namespace App\Modules\Workflow\Models;
use Illuminate\Database\Eloquent\Concerns\HasUlids;
use Workflow\Models\StoredWorkflow as StoredWorkflowBase;
class StoredWorkflow extends StoredWorkflowBase
{
use HasUlids;
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
like three days ago i wanted to use strings for ids - i just found out thats possible with yesterdays release. π
But i am unsure how to implement it properly:
WorkflowStubwantsStoredWorkflowfromWorkflownamespace - if i create my ownStoredWorkflowmodel in App\Models thefromStoredWorkflowcall inWorkflowStubfails.I create the workflow manually like this:
If I don't create the Workflow manually like this
WorkflowStub::makeobviously fails because it usescreate()which fails without auto-incrementing integer key.May StoredWorkflow is the same as the supplied one but with these properties added:
Any help is appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions