Consider binary UUID storage beyond Postgres #1695
Replies: 5 comments
-
Related: https://github.com/the-cave/event-id-mapper |
Beta Was this translation helpful? Give feedback.
-
Related: https://github.com/nedap/mysql-binuuid-rails |
Beta Was this translation helpful? Give feedback.
-
Hi, is it actual for rails 6? Rails 6 added uuid. |
Beta Was this translation helpful? Give feedback.
-
It is true that ActiveRecord schema DSL supports uuids, and it was true even before Rails 6. Does Rails 6 extend it beyond Postgres adapter? In scope of storage RailsEventStore has to consider database support as well. This is not only Postgres but also MySQL and Sqlite. There has been addition of native uuids in Mysql 8.0, which would be a nice improvement if that worked out of the box in ActiveRecord. Then we'd have to only adjust schema generation for this particular database version in RES. |
Beta Was this translation helpful? Give feedback.
-
(renamed title to be more precise) |
Beta Was this translation helpful? Give feedback.
-
If it helps in any way for performance let's brainstorm how we could introduce it.
Beta Was this translation helpful? Give feedback.
All reactions