Upcoming database changes RELEASE 17 May 2022

-ActiveRecord::Schema.define(version: 2022_04_13_073905) do

+ActiveRecord::Schema.define(version: 2022_05_04_074655) do


@@ -216,2 +216,4 @@ create_table "appointments", id: :serial, force: :cascade do |t|

     t.string "status"

+    t.bigint "cancelled_by_id"

+    t.index ["cancelled_by_id"], name: "index_appointments_on_cancelled_by_id"

     t.index ["ess_identifier"], name: "index_appointments_on_ess_identifier"

@@ -3218,3 +3220,3 @@ create_table "wage_histories", id: :serial, force: :cascade do |t|

     t.date "pay_period_ending_date", null: false

-    t.decimal "hours_worked", null: false

+    t.decimal "hours_worked"

     t.decimal "rate"

@@ -3392,2 +3394,3 @@ create_table "work_for_doles", force: :cascade do |t|

   add_foreign_key "appointments", "program_referrals"

+  add_foreign_key "appointments", "users", column: "cancelled_by_id"

   add_foreign_key "caseloads", "sites"

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.