mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Don't enforce barcodes to be unique (fixes #1205)
This commit is contained in:
parent
94e4ee0659
commit
e3504464e5
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user