aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20241113163104_change_feature_slot_on_pdf_resource.rb5
-rw-r--r--db/schema.rb2
2 files changed, 6 insertions, 1 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
diff --git a/db/schema.rb b/db/schema.rb
index 1977b3f..0e6e899 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[8.0].define(version: 2024_11_11_204736) do
+ActiveRecord::Schema[8.0].define(version: 2024_11_13_163104) do
create_table "active_storage_attachments", force: :cascade do |t|
t.string "name", null: false
t.string "record_type", null: false