Sha256: f4e6835d14b1d3fde97460a615b086165b52a362a1d18dcb77977ff0a1cbdb7e

Contents?: true

Size: 348 Bytes

Versions: 20

Compression:

Stored size: 348 Bytes

Contents

class CreateRoles < ActiveRecord::Migration
  def self.up
    create_table :roles do |t|

      t.string :name,        :null => false
      t.string :title,       :null => false
      t.text   :description, :null => false
      t.text   :the_role,    :null => false

      t.timestamps
    end
  end

  def self.down
    drop_table :roles
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
the_role-2.1.1 db/migrate/20111025025129_create_roles.rb
the_role-2.1.0 db/migrate/20111025025129_create_roles.rb
the_role-2.0.4 db/migrate/20111025025129_create_roles.rb
the_role-2.0.3 db/migrate/20111025025129_create_roles.rb
the_role-2.0.2 db/migrate/20111025025129_create_roles.rb
the_role-2.0.1 db/migrate/20111025025129_create_roles.rb
the_role-2.0.0 db/migrate/20111025025129_create_roles.rb
the_role-1.7.0 db/migrate/20111025025129_create_roles.rb
the_role-1.6.9 db/migrate/20111025025129_create_roles.rb
the_role-1.6.8 db/migrate/20111025025129_create_roles.rb
the_role-1.6.7 db/migrate/20111025025129_create_roles.rb
the_role-1.6.6 db/migrate/20111025025129_create_roles.rb
the_role-1.6.5 db/migrate/20111025025129_create_roles.rb
the_role-1.6.4 db/migrate/20111025025129_create_roles.rb
the_role-1.6.3 db/migrate/20111025025129_create_roles.rb
the_role-1.6.2 db/migrate/20111025025129_create_roles.rb
the_role-1.6.1 db/migrate/20111025025129_create_roles.rb
the_role-1.6.0 db/migrate/20111025025129_create_roles.rb
the_role-1.5.1 db/migrate/20111025025129_create_roles.rb
the_role-1.5.0 db/migrate/20111025025129_create_roles.rb