Browse Source

Adding new 2022_2023 field

pull/507/head
Stéphane Meny 3 years ago
parent
commit
fc6b89b46c
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 5
      db/migrate/20220426122618_add_joint_to_case_logs.rb
  2. 3
      db/schema.rb

5
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

3
db/schema.rb

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # 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 # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -219,6 +219,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_04_25_145228) do
t.integer "lar" t.integer "lar"
t.integer "irproduct" t.integer "irproduct"
t.string "old_id" t.string "old_id"
t.integer "joint"
t.index ["managing_organisation_id"], name: "index_case_logs_on_managing_organisation_id" 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 ["old_id"], name: "index_case_logs_on_old_id", unique: true
t.index ["owning_organisation_id"], name: "index_case_logs_on_owning_organisation_id" t.index ["owning_organisation_id"], name: "index_case_logs_on_owning_organisation_id"

Loading…
Cancel
Save