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

View File

@@ -14,7 +14,7 @@ class CreateJobs < ActiveRecord::Migration[7.1]
t.datetime :paid_at
t.boolean :intern, default: false
t.string :cost_center
t.integer :status, default: 0, index: true
t.string :status, default: 0, index: true
t.integer :number_of_plans_a0, default: 0
t.integer :number_of_plans_a1, default: 0
t.integer :number_of_plans_a2, default: 0