ref: master
plugins/suppliers/db/migrate/20160802133639_create_suppliers_plugin_hubs.rb
1 2 3 4 5 6 7 8 9
class CreateSuppliersPluginHubs < ActiveRecord::Migration def change create_table :suppliers_plugin_hubs do |t| t.string :name t.string :description t.references :profile, index: true, foreign_key: true end end end