Sha256: 207962cb447664f16993b1713d473d1f18702ebf8d44603fc9621d8b2c667111

Contents?: true

Size: 159 Bytes

Versions: 8

Compression:

Stored size: 159 Bytes

Contents

class AddUsernameToUsers < Cassanity::Migration
  def up
    add_column :users, :username, :text
  end

  def down
    drop_column :users, :username
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cassanity-0.6.0 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.6.0.beta5 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.6.0.beta4 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.6.0.beta3 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.6.0.beta2 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.6.0.beta1 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.5.1 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb
cassanity-0.5.0 spec/integration/cassanity/fixtures/migrations/20130226135004_add_username_to_users.rb