update
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
-- =============================================================
|
||||
|
||||
CREATE TABLE IF NOT EXISTS order_payments (
|
||||
id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
|
||||
order_id BIGINT UNSIGNED NOT NULL,
|
||||
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
|
||||
order_id INT UNSIGNED NOT NULL,
|
||||
source_payment_id VARCHAR(64) NULL,
|
||||
external_payment_id VARCHAR(64) NULL,
|
||||
payment_type_id VARCHAR(64) NOT NULL,
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
INSERT INTO cron_schedules (job_type, interval_seconds, priority, max_attempts, payload, enabled, last_run_at, next_run_at, created_at, updated_at)
|
||||
VALUES ('order_status_aged', 3600, 50, 1, JSON_OBJECT(), 1, NULL, NOW(), NOW(), NOW())
|
||||
ON DUPLICATE KEY UPDATE
|
||||
interval_seconds = VALUES(interval_seconds),
|
||||
priority = VALUES(priority),
|
||||
max_attempts = VALUES(max_attempts),
|
||||
payload = VALUES(payload),
|
||||
enabled = VALUES(enabled),
|
||||
updated_at = VALUES(updated_at);
|
||||
Reference in New Issue
Block a user