diff --git a/app/models/suggestion.rb b/app/models/suggestion.rb new file mode 100644 index 0000000000000000000000000000000000000000..93697f3901f209bd631a9b9d650bd7630eb3399a --- /dev/null +++ b/app/models/suggestion.rb @@ -0,0 +1,13 @@ +# == Schema Information +# +# Table name: suggestions +# +# id :integer not null, primary key +# name :string +# link :string +# description :text +# status :integer +# +class Suggestion < ApplicationRecord + enum status: { new: 0, accepted: 1, rejected: 2, loaded: 3 } +end