main
 1class CreateEnvironments < ActiveRecord::Migration
 2  def change
 3    create_table :environments do |t|
 4      t.string :name
 5      t.references :service, index: true
 6      t.string :api_key
 7      t.timestamps
 8    end
 9  end
10end