Skip to content

Commit

Permalink
Merge 36574ac into bc04e6d
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Apr 9, 2021
2 parents bc04e6d + 36574ac commit 0dadf47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Expand Up @@ -12,4 +12,6 @@ class CreateMeritActions < ActiveRecord::Migration<%= migration_version %>
t.timestamps null: false
end
end

add_index :merit_actions, :processed
end
2 changes: 2 additions & 0 deletions test/dummy/db/migrate/20130329224406_create_merit_actions.rb
Expand Up @@ -10,6 +10,8 @@ def self.up
t.boolean :processed, :default => false
t.timestamps null: false
end

add_index :merit_actions, :processed
end

def self.down
Expand Down
1 change: 1 addition & 0 deletions test/dummy/db/schema.rb
Expand Up @@ -49,6 +49,7 @@
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.text "target_data"
t.index ["processed"], name: "index_merit_actions_on_processed"
end

create_table "merit_activity_logs", force: :cascade do |t|
Expand Down

0 comments on commit 0dadf47

Please sign in to comment.