You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the invite link is going to /invite/null because it's not getting the ID back on creation. But even if it does get the ID back, we need to use something other than the ID for the URL, because IDs in PostgreSQL are not obscure hashes like they are in RethinkDB, they're easily guessable numbers.
The text was updated successfully, but these errors were encountered:
RethinkDB used UUIDs as the primary key, you can have postgresql (using pgcrypto extension) or sqlite (using a plugin) generate and use UUIDs as their primary key. Postgresql has a uuid type, Sqlite can use string or binary blob to store UUIDs (binary blobs are faster, but less human readable)
it looks like knex queries have uuid for each query, as well, so maybe we can use those to fill those in. might be worth trying to add it in rethink-knex-adapter (but as a separate field, in most cases). invite though could be a primary field.
Currently the invite link is going to /invite/null because it's not getting the ID back on creation. But even if it does get the ID back, we need to use something other than the ID for the URL, because IDs in PostgreSQL are not obscure hashes like they are in RethinkDB, they're easily guessable numbers.
The text was updated successfully, but these errors were encountered: