Sha256: db23020d7c9a5da393683ce07cd9a1fd42b5481c7f92d251c27552a9a5faa9fe

Contents?: true

Size: 312 Bytes

Versions: 4

Compression:

Stored size: 312 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.string :requested_changes

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
purgatory-2.5.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.4.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.3.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.2.0 lib/generators/purgatory/templates/create_purgatories.rb