Class: CreatePermissions

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/install/templates/create_permissions.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
# File 'lib/generators/install/templates/create_permissions.rb', line 2

def change
    create_table :permissions do |t|
        t.string :name
  
        t.timestamps
    end
end