diff --git a/db/migrate/20220426122618_add_joint_to_case_logs.rb b/db/migrate/20220426122618_add_joint_to_case_logs.rb new file mode 100644 index 000000000..3621b9bbf --- /dev/null +++ b/db/migrate/20220426122618_add_joint_to_case_logs.rb @@ -0,0 +1,5 @@ +class AddJointToCaseLogs < ActiveRecord::Migration[7.0] + def change + add_column :case_logs, :joint, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 94a44efde..449c77cdd 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.0].define(version: 2022_04_25_145228) do +ActiveRecord::Schema[7.0].define(version: 2022_04_26_122618) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -219,6 +219,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_04_25_145228) do t.integer "lar" t.integer "irproduct" t.string "old_id" + t.integer "joint" t.index ["managing_organisation_id"], name: "index_case_logs_on_managing_organisation_id" t.index ["old_id"], name: "index_case_logs_on_old_id", unique: true t.index ["owning_organisation_id"], name: "index_case_logs_on_owning_organisation_id"