class Log < ApplicationRecord
  enum status: { "Draft" => 0, "Published" => 1 }
  enum motivation: {
    "😫" => 0,
    "😖" => 1,
    "😞" => 2,
    "😕" => 3,
    "🙄" => 4,
    "😐" => 5,
    "🤔" => 6,
    "🙂" => 7,
    "😉" => 8,
    "😆" => 9
  }
end

class Log < ApplicationRecord
end

--- 
+++ 
@@ -1,2 +1,15 @@
 class Log < ApplicationRecord
+  enum status: { "Draft" => 0, "Published" => 1 }
+  enum motivation: {
+    "😫" => 0,
+    "😖" => 1,
+    "😞" => 2,
+    "😕" => 3,
+    "🙄" => 4,
+    "😐" => 5,
+    "🤔" => 6,
+    "🙂" => 7,
+    "😉" => 8,
+    "😆" => 9
+  }
 end
Set up enums for Logs
