Sha256: 9ab4f8949196f9cdac4c0625374674ed616348ed388e3a1e59e10df5298a17e6
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
class CreatePermissions < ActiveRecord::Migration def self.up create_table :permissions do |t| t.string :controller, :path, :null => false t.string :action end end def self.down drop_table :permissions end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
has_roles-0.3.1 | generators/has_roles/templates/001_create_permissions.rb |
has_roles-0.3.0 | db/migrate/001_create_permissions.rb |