Sha256: cfc7e7e0f6bca68f16f7e889b60f5f59173556160ab4bcea576ad35e73fb7835

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

class CreateReputationActionsTable < ActiveRecord::Migration
  def self.up
    create_table :reputation_actions, :force => true do |t|
      t.string :name
      t.text :description
      t.integer :value
      t.timestamps
    end
  end

  def self.down
    drop_table :reputation_actions
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_engine-0.0.1 lib/generators/social_engine/install/templates/create_reputation_actions_table.rb