Skip to content

Commit

Permalink
chore: change default first observed to created_at
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Aug 22, 2024
1 parent b5d1617 commit e488b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/pre_alter_columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ BEGIN
) THEN
-- Update existing NULL values in the "first_observed" column
UPDATE config_changes
SET first_observed = NOW()
SET first_observed = created_at
WHERE first_observed IS NULL;
END IF;
END $$;
Expand Down

0 comments on commit e488b8e

Please sign in to comment.