diff --git a/db/migrate/20240128205255_add_index_to_reports_created_at.rb b/db/migrate/20240202100641_add_index_to_reports_created_at.rb similarity index 69% rename from db/migrate/20240128205255_add_index_to_reports_created_at.rb rename to db/migrate/20240202100641_add_index_to_reports_created_at.rb index 21556fb08d2..068aacb1dad 100644 --- a/db/migrate/20240128205255_add_index_to_reports_created_at.rb +++ b/db/migrate/20240202100641_add_index_to_reports_created_at.rb @@ -1,5 +1,5 @@ class AddIndexToReportsCreatedAt < ActiveRecord::Migration[6.1] def change - add_index :reports, [:created_at] + add_index :reports, :created_at end end diff --git a/db/schema.rb b/db/schema.rb index 1b8c39fdd7b..a1a63b79b50 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2024_01_28_205255) do +ActiveRecord::Schema.define(version: 2024_02_02_100641) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto"