Sha256: 8b1f0daed35e7eb0ff46f5df9560a638fba6540a68f8f24b2e70429df7b64940

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 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.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
purgatory-2.7.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.6.0 lib/generators/purgatory/templates/create_purgatories.rb