feat: allow users to have an associated barcode#151
Conversation
YtvwlD
left a comment
There was a problem hiding this comment.
All in all this look pretty good!
Just two things:
- A user can only have a single barcode. Is this correct?
- The
null: truein the migrations breaks on sqlite. Can we remove this?
yes, that was the simplest to implement. it can change that to multiple tho if you think that'd be practical
do they? |
|
This really depends on the use-case (which I don't really know). I'm fine with a single barcode per account; we could even change this later. This is the error I got when migrating an existing dev setup: I can reproduce this by switching to |
the main use case this one has is to strap an ibutton/nfc reader to the chaosdorf mete terminal and do faster user selection with that
hmm, weird. it removed the |
|
beep |
This PR allows users to have an optional personal barcode so that they can quickly open their page using a [library card, iButton, nfc implant]. lucy hasn't done anything with rails before so it's sorry if this code is bad.