1 2 3 4 5 6 7 8 9 10 11
class CreateMiniEnvironmentServices < ActiveRecord::Migration[5.1] def change create_table :mini_environment_services do |t| t.string :name t.string :revision t.references :mini_environment, foreign_key: true t.timestamps end end end