From 10857b6e2b31470bbd11484959fb2e031034f197 Mon Sep 17 00:00:00 2001 From: Alex Dolski Date: Tue, 23 Apr 2024 14:04:32 -0500 Subject: [PATCH] Lengthen registered_elements.highwire_mapping --- ...8_lengthen_registered_elements_highwire_mapping_column.rb | 5 +++++ db/schema.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20240423190408_lengthen_registered_elements_highwire_mapping_column.rb diff --git a/db/migrate/20240423190408_lengthen_registered_elements_highwire_mapping_column.rb b/db/migrate/20240423190408_lengthen_registered_elements_highwire_mapping_column.rb new file mode 100644 index 00000000..bbd94133 --- /dev/null +++ b/db/migrate/20240423190408_lengthen_registered_elements_highwire_mapping_column.rb @@ -0,0 +1,5 @@ +class LengthenRegisteredElementsHighwireMappingColumn < ActiveRecord::Migration[7.1] + def change + change_column :registered_elements, :highwire_mapping, :string, limit: 64 + end +end diff --git a/db/schema.rb b/db/schema.rb index 8eaf3eff..ee132e96 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[7.1].define(version: 2024_04_23_155732) do +ActiveRecord::Schema[7.1].define(version: 2024_04_23_190408) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" enable_extension "unaccent" @@ -647,7 +647,7 @@ t.string "label", limit: 128, null: false t.bigint "institution_id" t.string "input_type", limit: 32, default: "text_field", null: false - t.string "highwire_mapping", limit: 32 + t.string "highwire_mapping", limit: 64 t.bigint "vocabulary_id" t.string "dublin_core_mapping", limit: 32 t.boolean "template", default: false, null: false