feat: 增加批量铺货发布强制间隔
This commit is contained in:
1 parent
a90c9422c1
commit
be080e1500
39 files changed
+362
-75
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE item_publish_batches ADD COLUMN publish_interval_seconds INTEGER NOT NULL DEFAULT 5;
|
||||
ALTER TABLE item_publish_batches ADD COLUMN last_publish_started_at_millis INTEGER NOT NULL DEFAULT 0;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE item_publish_batches DROP COLUMN last_publish_started_at_millis;
|
||||
ALTER TABLE item_publish_batches DROP COLUMN publish_interval_seconds;
|
||||
-- +goose StatementEnd
|
||||
Reference in new issue
Block a user