Commit 13a6ac1f authored by Steve Abrams's avatar Steve Abrams

Merge branch 'pb-remove-explicit-cast-from-index-condition' into 'master'

Remove explicit cast from index condition

See merge request gitlab-org/gitlab!74242
parents 2c206a8a f11d70c3
...@@ -4,7 +4,7 @@ class AddIndexOnEventsUsingBtreeCreatedAtId < Gitlab::Database::Migration[1.0] ...@@ -4,7 +4,7 @@ class AddIndexOnEventsUsingBtreeCreatedAtId < Gitlab::Database::Migration[1.0]
INDEX_NAME = 'index_events_on_created_at_and_id' INDEX_NAME = 'index_events_on_created_at_and_id'
TABLE = :events TABLE = :events
COLUMNS = %i[created_at id] COLUMNS = %i[created_at id]
CONSTRAINTS = "created_at > '2021-08-27 00:00:00+00'::timestamp with time zone" CONSTRAINTS = "created_at > '2021-08-27 00:00:00+00'"
disable_ddl_transaction! disable_ddl_transaction!
def up def up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment