Skip to content
Snippets Groups Projects
Commit 1bc28d77 authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

enum of status works

parent beb24ac8
No related branches found
No related tags found
No related merge requests found
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
# status :integer # status :integer
# #
class Suggestion < ApplicationRecord class Suggestion < ApplicationRecord
enum status: { new: 0, accepted: 1, rejected: 2, loaded: 3 } enum status: { created: 0, accepted: 1, rejected: 2, loaded: 3 }
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment