Closed estebanx64 closed 3 months ago
This might sound a bit off the wall, but this solution really cramps the template's versatility big time. Right now, if I want to switch the DB to MySQL, I'm gonna have to hack my way through it. Meanwhile, UUID doesn’t really add much value.
If I'm off base here, feel free to correct me and steer me right.
but this solution really cramps the template's versatility big time.
What do you mean by "this solution"? This PR changes UUIDs for tasks and items, maybe this is a discussion meant for the forums
@d4vidsha This Pull Request changes the simple and straightforward int to uuid for indexes. From an architectural standpoint, I see no benefits, but I do see drawbacks. The main issue I've pointed out is the now-impossible on-the-fly switch to MySQL. Previously, all I needed to do was install the MySQL driver, add the root password, and modify the connection string. Now, that won't work because MySQL doesn't handle UUIDs directly.
This project is a template built on certain technologies. If needed, I can remove React and replace it with Vue, or swap out another system component. This is correct from an architectural perspective (modularity, freedom of choice). But this PR binds us to PostgreSQL and reduces the template's flexibility.
Great! Thank you @estebanx64! :rocket: :coffee: