-ActiveRecord::Schema.define(version: 2022_09_14_072044) do +ActiveRecord::Schema.define(version: 2022_09_19_035044) do @@ -1209,2 +1209,3 @@ create_table "expenses", id: :serial, force: :cascade do |t| t.integer "finance_status_id", default: 2, null: false + t.string "payment_id" t.index ["approver_id"], name: "index_expenses_on_approver_id" @@ -2348,2 +2349,3 @@ create_table "quest_forms_smart_forms", id: false, force: :cascade do |t| t.uuid "smart_form_id", null: false + t.index ["quest_form_id", "smart_form_id"], name: "index_quest_forms_smart_forms_on_both_ids" end @@ -2412,2 +2414,3 @@ create_table "quest_submissions", id: :uuid, default: -> { "uuid_generate_v4()" t.index ["deleted_at"], name: "index_quest_submissions_on_deleted_at" + t.index ["form_id", "reference"], name: "index_quest_submissions_on_form_id_and_reference" t.index ["reference"], name: "index_quest_submissions_on_reference" @@ -2829,2 +2832,3 @@ create_table "smart_forms", id: :uuid, default: -> { "uuid_generate_v4()" }, for t.boolean "editable", default: false, null: false + t.index ["programme", "category", "placement_validation"], name: "index_smart_forms_on_programme_and_category_and_validation" t.index ["quest_form_id"], name: "index_smart_forms_on_quest_form_id"