aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-14 11:12:36 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-14 11:12:36 +0000
commit1062c6328f60bf9cacba20c07f5cd33e55c153ee (patch)
treeb780312b4fd1427707cbaecdc45711ea827b9fb8 /db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb
parente636e93c866b000ae4674605ea0543930c7e2e99 (diff)
Adds credits to resource and required asterisks on form
Diffstat (limited to 'db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb')
-rw-r--r--db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb b/db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb
new file mode 100644
index 0000000..7f10ea3
--- /dev/null
+++ b/db/migrate/20241114105702_add_credit_field_to_pdf_resources.rb
@@ -0,0 +1,5 @@
+class AddCreditFieldToPdfResources < ActiveRecord::Migration[8.0]
+ def change
+ add_column :pdfresources, :credits, :integer
+ end
+end