Fixed typo

This commit is contained in:
2024-10-02 13:51:15 +02:00
parent 23749c80b8
commit 337ff9b9d9
24 changed files with 79 additions and 79 deletions

12
db/schema.rb generated
View File

@@ -40,12 +40,12 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
end
create_table "jobs", force: :cascade do |t|
t.integer "costumer_id"
t.integer "customer_id"
t.integer "creator_id"
t.integer "cashier_id"
t.integer "operator_id"
t.string "costumer_firstname"
t.string "costumer_lastname"
t.string "customer_firstname"
t.string "customer_lastname"
t.string "operator_firstname"
t.string "operator_lastname"
t.string "cashier_firstname"
@@ -68,8 +68,8 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["cashier_id"], name: "index_jobs_on_cashier_id"
t.index ["costumer_id"], name: "index_jobs_on_costumer_id"
t.index ["creator_id"], name: "index_jobs_on_creator_id"
t.index ["customer_id"], name: "index_jobs_on_customer_id"
t.index ["operator_id"], name: "index_jobs_on_operator_id"
t.index ["status"], name: "index_jobs_on_status"
end
@@ -90,7 +90,7 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
t.string "lastname"
t.string "role", default: "user"
t.boolean "verified", default: false, null: false
t.integer "costumer_jobs_count", default: 0
t.integer "customer_jobs_count", default: 0
t.integer "operator_jobs_count", default: 0
t.integer "created_jobs_count", default: 0
t.integer "cashed_jobs_count", default: 0
@@ -103,8 +103,8 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
add_foreign_key "jobs", "users", column: "cashier_id"
add_foreign_key "jobs", "users", column: "costumer_id"
add_foreign_key "jobs", "users", column: "creator_id"
add_foreign_key "jobs", "users", column: "customer_id"
add_foreign_key "jobs", "users", column: "operator_id"
add_foreign_key "sessions", "users"
end