Closed nelson6e65 closed 6 months ago
Hi there, right now there's no way to overwrite the this in the database driver of pennant. You should indeed ship your own driver if you wish to achieve this. This can possible easily be done by overwriting Pennant's database driver and then only overwriting the methods that you need to adjust.
For example, I use UUID for my migrations to sync some tables to Firebase but stored ID is empty, obviously.
I need to add the
id
in the model on databasecreating
event.Or should I create a custom Driver? 🤔