Sha256: 1d380349312a2e7553a600c8b43ca82ce93ee26c6d3ff65a886561703cc45ed9

Contents?: true

Size: 207 Bytes

Versions: 16

Compression:

Stored size: 207 Bytes

Contents

class CreateUserRoles < ActiveRecord::Migration
  def self.up
    create_table :user_roles do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :user_roles
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
branston-0.6.1 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.6.0 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.5.2 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.5.1 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.5.0 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.6 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.5 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.4 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.3 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.2 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.1 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.4.0 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.3.6 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.3.4 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.3.3 lib/branston/db/migrate/20091127131037_create_user_roles.rb
branston-0.3.2 lib/branston/db/migrate/20091127131037_create_user_roles.rb