changed enum to string in user and job model
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user