add label to p_fournisseur_ref

This commit is contained in:
Barnabé 2021-10-07 16:30:39 +02:00
parent 9de88372a1
commit e6945481e7
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ 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

View File

@ -1453,6 +1453,7 @@ ActiveRecord::Schema.define(version: 2021_10_05_134955) do
create_table "p_fournisseur_refs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
t.string "ref"
t.string "label"
t.bigint "p_product_ref_id"
t.bigint "p_fournisseur_id"
t.datetime "created_at", precision: 6, null: false