Skip to content

Commit

Permalink
Don't enforce barcodes to be unique (fixes #1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
berrnd committed Dec 22, 2020
1 parent 94e4ee0 commit e350446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/0103.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SET price = ROUND(price / (SELECT qu_factor_purchase_to_stock FROM products WHER
CREATE TABLE product_barcodes (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
product_id INT NOT NULL,
barcode TEXT NOT NULL UNIQUE,
barcode TEXT NOT NULL,
qu_id INT,
amount REAL,
shopping_location_id INTEGER,
Expand Down

0 comments on commit e350446

Please sign in to comment.