Project

General

Profile

Download (229 Bytes) Statistics
| Branch: | Tag: | Revision:
class ChangeUsergroupNameToBeRequired < ActiveRecord::Migration[4.2]
def up
change_column :usergroups, :name, :string, :null => false
end

def down
change_column :usergroups, :name, :string, :null => true
end
end
(271-271/405)