fix migration, source column NOT NULL constraint on consumer_dlq (#18485)

This commit is contained in:
Siddhant 2024-10-31 14:10:19 +05:30 committed by GitHub
parent 47ba305b8d
commit 4f5bfa8549
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS apps_data_store (
);
-- Add the source column to the consumers_dlq table
ALTER TABLE consumers_dlq ADD COLUMN source VARCHAR(255) NOT NULL;
ALTER TABLE consumers_dlq ADD COLUMN source VARCHAR(255);
-- Create an index on the source column in the consumers_dlq table
CREATE INDEX idx_consumers_dlq_source ON consumers_dlq (source);

View File

@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS apps_data_store (
);
-- Add the source column to the consumers_dlq table
ALTER TABLE consumers_dlq ADD COLUMN source VARCHAR(255) NOT NULL;
ALTER TABLE consumers_dlq ADD COLUMN source VARCHAR(255);
-- Create an index on the source column in the consumers_dlq table
CREATE INDEX idx_consumers_dlq_source ON consumers_dlq (source);