Sha256: 6d1b55134538177054382b41825f9dd00ef4af4dcdc8338287e89cca1bcc3672

Contents?: true

Size: 193 Bytes

Versions: 15

Compression:

Stored size: 193 Bytes

Contents

class AddStateToPost < ActiveRecord::Migration
  def change
    add_column :posts, :state, :string
    add_column :posts, :publisher_id, :integer
    remove_column :posts, :published
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
crowdblog-0.0.16 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.15 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.14 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.13 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.12 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.10 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.9 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.8 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.7 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.6 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.5 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.4 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.3 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.2 db/migrate/20120219040607_add_state_to_post.rb
crowdblog-0.0.1 db/migrate/20120219040607_add_state_to_post.rb