mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Added product groups (this closes #55)
This commit is contained in:
9
migrations/0037.sql
Normal file
9
migrations/0037.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE products
|
||||
ADD product_group_id INTEGER;
|
||||
|
||||
CREATE TABLE product_groups (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
description TEXT,
|
||||
row_created_timestamp DATETIME DEFAULT (datetime('now', 'localtime'))
|
||||
);
|
Reference in New Issue
Block a user