From b8d7a7cf7e78fe384c6c6e8e6812a252084ce1f0 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 11 Nov 2024 16:33:24 +0000 Subject: Adds first pdfresource model --- app/models/pdfresource.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/models/pdfresource.rb (limited to 'app/models/pdfresource.rb') 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 -- cgit v1.2.3