Sha256: 053e1ff7737e595ea5d21f4a524c24eab8662e1590f74d420b4034af22725af6

Contents?: true

Size: 185 Bytes

Versions: 38

Compression:

Stored size: 185 Bytes

Contents

class AddAccountIdToTweets < ActiveRecord::Migration
  def self.up
    add_column :tweets, :account_id, :integer
  end

  def self.down
    remove_column :tweets, :account_id
  end
end

Version data entries

38 entries across 38 versions & 15 rubygems

Version Path
jnunemaker-twitter-0.2.8 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.3.1 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.3.4 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.3.5 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.3.6 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.3.7 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.3.8 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.4.0 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.4.1 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.4.2 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
jnunemaker-twitter-0.4.4 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
lazyatom-twitter-0.4.2.1 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
netshade-twitter-0.4.2.1 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
neufelry-twitter-0.4.2 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
pjdavis-twitter-0.3.8 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
pjdavis-twitter-0.3.9 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
pjdavis-twitter-0.4.2 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb
ubermajestix-twitter-0.4.2 lib/twitter/cli/migrations/20080722214605_add_account_id_to_tweets.rb