Hi,
I have a database with existing records and we add the VersionableTrait.
I would expect to get a version if we save an existing record?
However I get this with tinker:
$z->versions
=> Illuminate\Database\Eloquent\Collection {#4160
all: [],
}
$z->save()
=> true
$z->versions
=> Illuminate\Database\Eloquent\Collection {#4160
all: [],
}
DD of relevant information on record:
+exists: true
+wasRecentlyCreated: false
-updating: true
-versionableDirtyData: []
-reason: null
#versioningEnabled: true
How can I create a version on this record