Sha256: 20f2dcc7813adb0c9fb641b9a8856d978bf56c53263903d6712eea1d1890535a

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 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 :changes_json

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
purgatory-2.1.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-2.0.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-1.1.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-1.0.0 lib/generators/purgatory/templates/create_purgatories.rb
purgatory-0.2.0 lib/generators/purgatory/templates/create_purgatories.rb