Add Wildberries product fetching and rate limiting functionality

This commit is contained in:
2025-07-04 13:30:50 +03:00
parent b48421e653
commit dc097c6fc8
67 changed files with 81355 additions and 110 deletions

View File

@@ -1,9 +1,14 @@
create table marketplaces
(
id serial
id serial
primary key,
base_marketplace integer not null,
name varchar not null,
auth_data varchar,
warehouse_id varchar
base_marketplace integer not null,
name varchar not null,
auth_data varchar,
warehouse_id varchar,
auth_data_json jsonb generated always as (
CASE
WHEN ((auth_data)::text IS JSON) THEN (auth_data)::jsonb
ELSE NULL::jsonb
END) stored
);