Sha256: ee54272b6fcea387c357f42cec609ff41e421a42e0092fc09bdd787e1d99a81a

Contents?: true

Size: 280 Bytes

Versions: 13

Compression:

Stored size: 280 Bytes

Contents

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

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

      t.timestamps
    end
  end

  def self.down
    drop_table :roles
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
the_role-1.4.1 db/migrate/20111025025129_create_roles.rb
the_role-1.4.0 db/migrate/20111025025129_create_roles.rb
the_role-1.3.1 db/migrate/20111025025129_create_roles.rb
the_role-1.3.0 db/migrate/20111025025129_create_roles.rb
the_role-1.2.1 db/migrate/20111025025129_create_roles.rb
the_role-1.2.0 db/migrate/20111025025129_create_roles.rb
the_role-1.1.1 db/migrate/20111025025129_create_roles.rb
the_role-1.1.0 db/migrate/20111025025129_create_roles.rb
the_role-1.0.0 db/migrate/20111025025129_create_roles.rb
the_role-0.9.93 db/migrate/20111025025129_create_roles.rb
the_role-0.9.92 db/migrate/20111025025129_create_roles.rb
the_role-0.9.91 db/migrate/20111025025129_create_roles.rb
the_role-0.9.9 db/migrate/20111025025129_create_roles.rb