Add timestamps to category_expert_endorsements (#23)

Add timestamps to category_expert_endorsements (#23)

diff --git a/db/migrate/20210408133245_add_timestamps_to_category_experts_endorsements.rb b/db/migrate/20210408133245_add_timestamps_to_category_experts_endorsements.rb
new file mode 100644
index 0000000..e84ae36
--- /dev/null
+++ b/db/migrate/20210408133245_add_timestamps_to_category_experts_endorsements.rb
@@ -0,0 +1,5 @@
+class AddTimestampsToCategoryExpertsEndorsements < ActiveRecord::Migration[6.0]
+  def change
+    add_timestamps :category_expert_endorsements, null: false, default: -> { 'NOW()' }
+  end
+end

GitHub sha: d6d15561

This commit appears in #23 which was approved by gschlager. It was merged by markvanlan.