Sha256: c0755516708064a89f0e8463f0961316eca2241886c7282d02f1f8ca4d01fc82

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

class CreateApprovableChangeRequests < ActiveRecord::Migration
  def change
    create_table :approvable_change_requests do |t|
      t.string :approvable_type
      t.integer :approvable_id
      t.json :requested_changes, default: {}
      t.string :state
      t.string :approver_type
      t.integer :approver_id
      
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
approvable-0.0.2 db/migrate/20140807145534_create_approvable_change_requests.rb