changed enum to string in user and job model

This commit is contained in:
2024-09-07 23:24:07 +02:00
parent fc26bdc3ac
commit ba4331c252
6 changed files with 14 additions and 13 deletions

4
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.integer "status", default: 0
t.string "status", default: "0"
t.integer "number_of_plans_a0", default: 0
t.integer "number_of_plans_a1", default: 0
t.integer "number_of_plans_a2", default: 0
@@ -83,7 +83,7 @@ ActiveRecord::Schema[7.2].define(version: 2024_08_26_144016) do
t.string "password_digest", null: false
t.string "firstname"
t.string "lastname"
t.integer "role", default: 0
t.string "role", default: "0"
t.boolean "verified", default: false, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false