Sha256: 67f83400e4c5c794e5aa4a107c742d78763e86d650a9f44536a5ccf8d4cc5b85

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

class CreateReleafRoles < ActiveRecord::Migration
  def change
    create_table :releaf_roles do |t|
      t.string  :name,        :null => false
      t.text    :permissions
      t.boolean :default,     :null => false, :default => false
      t.text    :default_controller

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
releaf-0.1.2 lib/generators/releaf/templates/migrations/create_releaf_roles.rb