-ActiveRecord::Schema.define(version: 2023_08_24_051646) do +ActiveRecord::Schema.define(version: 2023_09_07_114025) do @@ -1469,3 +1469,2 @@ create_table "goal_actions", force: :cascade do |t| t.text "tags", default: [], array: true - t.boolean "allow_due_date", default: true, null: false end @@ -1530,2 +1529,10 @@ create_table "imported_documents", id: :serial, force: :cascade do |t| + create_table "individual_development_schedule_templates", force: :cascade do |t| + t.string "name", null: false + t.boolean "active", default: true, null: false + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + t.index ["name"], name: "index_individual_development_schedule_templates_on_name", unique: true + end + create_table "internship_agreements", force: :cascade do |t| @@ -2905,2 +2912,3 @@ create_table "reminders", id: :serial, force: :cascade do |t| t.bigint "goal_action_id" + t.bigint "time_frame_id" t.index ["completed_by_id"], name: "index_reminders_on_completed_by_id" @@ -2911,2 +2919,3 @@ create_table "reminders", id: :serial, force: :cascade do |t| t.index ["repeat_id"], name: "index_reminders_on_repeat_id" + t.index ["time_frame_id"], name: "index_reminders_on_time_frame_id" t.index ["type"], name: "index_reminders_on_type" @@ -3501,2 +3510,9 @@ create_table "tenants", id: :serial, force: :cascade do |t| + create_table "time_frames", force: :cascade do |t| + t.string "name" + t.boolean "due_at_required", default: false + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + end + create_table "time_logs", id: :serial, force: :cascade do |t| @@ -3757,2 +3773,4 @@ create_table "vacancies", id: :serial, force: :cascade do |t| t.integer "transport_ids", default: [], array: true + t.float "latitude" + t.float "longitude" t.index ["company_id"], name: "index_vacancies_on_company_id" @@ -4176,2 +4194,3 @@ create_table "work_for_doles", force: :cascade do |t| add_foreign_key "reminders", "repeats" + add_foreign_key "reminders", "time_frames" add_foreign_key "reminders", "users", column: "assigned_to_id" + end