commit
a5d35a5cf8
@ -0,0 +1,13 @@ |
||||
class AlterUserAttributesMaxLength < ActiveRecord::Migration[6.0] |
||||
def up |
||||
change_column :users, :firstname, :string, limit: nil |
||||
change_column :users, :lastname, :string, limit: nil |
||||
change_column :users, :mail, :string, limit: nil |
||||
end |
||||
|
||||
def down |
||||
change_column :users, :firstname, :string, limit: 30 |
||||
change_column :users, :lastname, :string, limit: 30 |
||||
change_column :users, :mail, :string, limit: 60 |
||||
end |
||||
end |
Loading…
Reference in new issue