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

@@ -6,7 +6,7 @@ class CreateUsers < ActiveRecord::Migration[7.2]
t.string :firstname
t.string :lastname
t.integer :role, default: 0, index: true
t.string :role, default: 0, index: true
t.boolean :verified, null: false, default: false