Sha256: 0188b13e8175cfe83274610cca743c341364b78fc16da6ff4b90742ac365a0b6

Contents?: true

Size: 193 Bytes

Versions: 60

Compression:

Stored size: 193 Bytes

Contents

class CreateRoles < ActiveRecord::Migration
  def self.up
    create_table :roles do |t|
      t.string :name
      t.timestamps
    end
  end

  def self.down
    drop_table :roles
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
wheels-0.1.7 db/migrate/0130_create_roles.rb
wheels-0.1.6 db/migrate/0130_create_roles.rb
wheels-0.1.5 db/migrate/0130_create_roles.rb
wheels-0.1.4 db/migrate/0130_create_roles.rb
wheels-0.1.3 db/migrate/0130_create_roles.rb
wheels-0.1.2 db/migrate/0130_create_roles.rb
wheels-0.1.1 db/migrate/0130_create_roles.rb
wheels-0.1.0 db/migrate/0130_create_roles.rb
wheels-0.0.49 db/migrate/0130_create_roles.rb
wheels-0.0.48 db/migrate/create_roles.rb
wheels-0.0.47 db/migrate/create_roles.rb
wheels-0.0.46 db/migrate/create_roles.rb
wheels-0.0.45 db/migrate/create_roles.rb
wheels-0.0.44 db/migrate/create_roles.rb
wheels-0.0.43 db/migrate/create_roles.rb
wheels-0.0.42 db/migrate/create_roles.rb
wheels-0.0.41 db/migrate/create_roles.rb
wheels-0.0.40 db/migrate/create_roles.rb
wheels-0.0.39 db/migrate/create_roles.rb
wheels-0.0.38 db/migrate/create_roles.rb