7 changed files with 42 additions and 22 deletions
@ -0,0 +1,5 @@
|
||||
class ChangeDefaultValueForUserRole < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_column_default :users, :role, 1 |
||||
end |
||||
end |
Loading…
Reference in new issue