From 5a9063a04b5a81de31566ad641728ca06fe96927 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 13 Nov 2024 17:12:14 +0000 Subject: Adds some validation and further work on the form --- db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb (limited to 'db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb') diff --git a/db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb b/db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb new file mode 100644 index 0000000..ed18b59 --- /dev/null +++ b/db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb @@ -0,0 +1,5 @@ +class ChangeFeatureSlotOnPdfResource < ActiveRecord::Migration[8.0] + def change_table(table_name, **options) + change_column table_name, :feature_slot, Integer, null: false + end +end -- cgit v1.2.3