Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE feed_sync_jobs
|
||||
ADD COLUMN IF NOT EXISTS products_total INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN IF NOT EXISTS products_skipped INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN IF NOT EXISTS products_unchanged INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN IF NOT EXISTS progress INT NOT NULL DEFAULT 0,
|
||||
ADD COLUMN IF NOT EXISTS content_hash TEXT;
|
||||
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS raw_products_company_gtin_uidx
|
||||
ON raw_products (company_id, gtin);
|
||||
|
||||
-- +goose Down
|
||||
DROP INDEX IF EXISTS raw_products_company_gtin_uidx;
|
||||
ALTER TABLE feed_sync_jobs
|
||||
DROP COLUMN IF EXISTS content_hash,
|
||||
DROP COLUMN IF EXISTS progress,
|
||||
DROP COLUMN IF EXISTS products_unchanged,
|
||||
DROP COLUMN IF EXISTS products_skipped,
|
||||
DROP COLUMN IF EXISTS products_total;
|
||||
Reference in New Issue
Block a user