bus-detective/bus-detective

View on GitHub
db/migrate/20150530183019_create_shapes.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateShapes < ActiveRecord::Migration
  def change
    create_table :shapes do |t|
      t.string :remote_id
      t.references :agency, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end