17 lines
459 B
SQL
17 lines
459 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
|
|
INSERT INTO system_configs (`key`, `value`, description) VALUES
|
|
('listing.publish_cooldown_minutes', '5', '同一用户两次新增发布账号的最小间隔分钟数(0 表示关闭)')
|
|
ON DUPLICATE KEY UPDATE
|
|
description = VALUES(description);
|
|
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
|
|
DELETE FROM system_configs WHERE `key` = 'listing.publish_cooldown_minutes';
|
|
|
|
-- +goose StatementEnd
|