This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20211005134955_create_p_fournisseur_refs.rb

13 lines
303 B
Ruby

class CreatePFournisseurRefs < ActiveRecord::Migration[6.0]
def change
create_table :p_fournisseur_refs do |t|
t.string :ref
t.string :label
t.references :p_product_ref, foreign_key: true
t.references :p_fournisseur, foreign_key: true
t.timestamps
end
end
end