fixed connection string in configs
Build and Deploy / build-and-deploy (push) Successful in 31m25s

This commit is contained in:
2026-05-24 16:22:31 +03:00
parent 75baa6d324
commit 413fb0ddea
16 changed files with 2 additions and 0 deletions
@@ -0,0 +1,19 @@
CREATE TABLE positions
(
id BIGSERIAL PRIMARY KEY,
receipt_id BIGINT NOT NULL,
section_number TEXT,
gtin_code TEXT,
product_name TEXT NOT NULL,
product_count REAL NOT NULL,
amount REAL NOT NULL,
discount REAL,
surcharge REAL,
tag TEXT,
marking_code TEXT,
ukz_code TEXT,
FOREIGN KEY (receipt_id) REFERENCES receipts (id) ON DELETE CASCADE
);
CREATE INDEX idx_positions_receipt_id ON positions (receipt_id);