Sha256: c80998243859ee5b6263c7522c7bdc54f740601efd95849e962946f890561a5d

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

class CreatePurgatories < ActiveRecord::Migration
  def change
    create_table :purgatories do |t|
      t.integer :soul_id
      t.string :soul_type
      t.integer :requester_id
      t.integer :approver_id
      t.datetime :approved_at
      t.text :requested_changes
      t.string :attr_accessor_fields

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
purgatory-2.10.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.9.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.8.0 lib/generators/purgatory/templates/create_purgatories.rb