18F/identity-idp

View on GitHub
db/primary_migrate/20200109065722_create_sp_costs.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateSpCosts < ActiveRecord::Migration[5.1]
  def change
    create_table :sp_costs do |t|
      t.string   :issuer, null: false
      t.integer  :agency_id, null: false
      t.string   :cost_type, null: false
      t.timestamps
    end
    add_index :sp_costs, %i[created_at]
  end
end