Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barcode is INT in database, should be STR #10

Open
fokoid opened this issue Sep 19, 2016 · 0 comments
Open

Barcode is INT in database, should be STR #10

fokoid opened this issue Sep 19, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@fokoid
Copy link
Owner

fokoid commented Sep 19, 2016

The barcode should be treated as a string in the database to allow more general IDs to be used. One important point is that barcodes such as "0" and "0000" would be distinct as strings but not as integers.

In addition, unit tests need to be updated to account for this potentially. At present ,"00000000" is commonly used as a test barcode, but it would be preferable to use one which is unique as both an integer and as a string.

@fokoid fokoid added the bug label Sep 19, 2016
@fokoid fokoid added this to the Version 0.1.0 milestone Sep 19, 2016
@fokoid fokoid self-assigned this Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant