Sha256: bc6d16227e9264fcdb4e7ad15f8c632f99e0a123368d5d3782370ecdd396379f

Contents?: true

Size: 195 Bytes

Versions: 3

Compression:

Stored size: 195 Bytes

Contents

class AddTypeToComments < ActiveRecord::Migration
  def self.up
    add_column :comments, :comment_type_id, :integer
  end

  def self.down
    remove_column :comments, :comment_type_id
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_comments-1.0.1 db/migrate/20100406100728_add_type_to_comments.rb
solidus_comments-1.0.0 db/migrate/20100406100728_add_type_to_comments.rb
spree_comments-1.0.0 db/migrate/20100406100728_add_type_to_comments.rb