diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-16 11:12:40 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-16 11:12:40 +0100 |
| commit | f0bcdcf4740148be2bd2505fbc7a85549a5d6fb2 (patch) | |
| tree | 3acf0b2957b595511e4cc24087942f2491ce3aee /app/models | |
| parent | 1e6bf953680bf03d4b797cf9b8f7235546b2c578 (diff) | |
| download | operum-f0bcdcf4740148be2bd2505fbc7a85549a5d6fb2.tar.gz operum-f0bcdcf4740148be2bd2505fbc7a85549a5d6fb2.zip | |
things: added 'chronicle' kind
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/thing.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/thing.rb b/app/models/thing.rb index a27951f..4289b76 100644 --- a/app/models/thing.rb +++ b/app/models/thing.rb @@ -13,7 +13,8 @@ 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 phd], validate: true + enum :kind, %i[other poetry theater essay shorts + novel paper letters phd chronicle], validate: true # Returns all things which match the given text for any of the string columns # from the table. |
