diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-13 17:12:14 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-13 17:12:14 +0000 |
commit | 5a9063a04b5a81de31566ad641728ca06fe96927 (patch) | |
tree | 2c58d1d6af82e5f667c394f3ab968a71a12ce13a /db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb | |
parent | 018affc145e0b3c823e3e7dcaaada39858f5c8b3 (diff) |
Adds some validation and further work on the form
Diffstat (limited to 'db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb')
-rw-r--r-- | db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |