Add Wildberries product fetching and rate limiting functionality
This commit is contained in:
@@ -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
|
||||
);
|
||||
Reference in New Issue
Block a user