ekmungai / eloquent-ifrs

Eloquent Double Entry Accounting with a focus on IFRS Compliant Reporting
MIT License
334 stars 68 forks source link

Take into consideration apps that use UUIDs for User primary column #105

Closed spacemudd closed 2 years ago

spacemudd commented 2 years ago

Background

If an app uses UUIDs for the users' table, migration will fail.

Change

We take into consideration if the User's model uses string type for its primary key. If string, then it's a UUID column.