aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-15 22:42:17 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-15 22:42:17 +0100
commit87c3ff44381d270f3a4f4c384f674f85a7f178a1 (patch)
treeedd32d40bb39eebb699790a83302e2d38e1c35c8 /app/models
parent38c383b22d3999f0c1184dbc7b1d80573e4ee278 (diff)
downloadoperum-87c3ff44381d270f3a4f4c384f674f85a7f178a1.tar.gz
operum-87c3ff44381d270f3a4f4c384f674f85a7f178a1.zip
things: added the 'phd' kind
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/models')
-rw-r--r--app/models/thing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/thing.rb b/app/models/thing.rb
index 1e1fb79..a27951f 100644
--- a/app/models/thing.rb
+++ b/app/models/thing.rb
@@ -13,7 +13,7 @@ class Thing < ApplicationRecord
has_many :tags, through: :tag_references
enum :status, %i[read notread tobepublished], validate: true
- enum :kind, %i[other poetry theater essay shorts novel paper letters], validate: true
+ enum :kind, %i[other poetry theater essay shorts novel paper letters phd], validate: true
# Returns all things which match the given text for any of the string columns
# from the table.