Many Changes: Rename privacy_policy, fixed seed.rb, fixed status in migration file, created new job for operator

This commit is contained in:
2024-09-09 14:35:07 +02:00
parent cf8cc196a3
commit c195cd3b22
11 changed files with 59 additions and 44 deletions

5
db/schema.rb generated
View File

@@ -53,7 +53,7 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
t.datetime "paid_at"
t.boolean "intern", default: false
t.string "cost_center"
t.string "status", default: "0"
t.string "status", default: "open"
t.integer "number_of_plans_a0", default: 0
t.integer "number_of_plans_a1", default: 0
t.integer "number_of_plans_a2", default: 0
@@ -61,7 +61,8 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
t.float "costum_qm_plan", default: 0.0
t.float "cost", default: 0.0
t.float "cost_qm", default: 0.0
t.boolean "privacy_policy_accepted", default: false
t.boolean "privacy_policy", default: false
t.boolean "created_by_operator", default: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["costumer_id"], name: "index_jobs_on_costumer_id"