Sha256: 42033f62d1aec71cf6df09a7012dc2c67f38fdf780dc90e72854710fbaea5b56

Contents?: true

Size: 129 Bytes

Versions: 28

Compression:

Stored size: 129 Bytes

Contents

class AddRoleToUsers < ActiveRecord::Migration
  def change
    add_column :users, :role, :string, :default => "Guest"
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
houston-core-0.5.6 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.5 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.4 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.3 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.2 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.1 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.0 db/migrate/20120417190504_add_role_to_users.rb
houston-core-0.5.0.beta1 db/migrate/20120417190504_add_role_to_users.rb