Skip to content

Commit

Permalink
カラムの指定を配列から修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokucho1989 committed Feb 2, 2024
1 parent 66209eb commit 0c79665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class AddIndexToReportsCreatedAt < ActiveRecord::Migration[6.1]
def change
add_index :reports, [:created_at]
add_index :reports, :created_at
end
end
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0c79665

Please sign in to comment.