diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:33:24 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-11 16:33:24 +0000 |
commit | b8d7a7cf7e78fe384c6c6e8e6812a252084ce1f0 (patch) | |
tree | 5ef297ac23775afb1bcffb68265749d08f282297 /app/models | |
parent | 97201e0bca203b6b303789374ffd7e4228e062a7 (diff) |
Adds first pdfresource model
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/pdfresource.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/pdfresource.rb b/app/models/pdfresource.rb new file mode 100644 index 0000000..6131034 --- /dev/null +++ b/app/models/pdfresource.rb @@ -0,0 +1,4 @@ +class Pdfresource < ApplicationRecord + has_many_attached :pdfs + has_many_attached :thumbnails +end |