p_article migration
This commit is contained in:
parent
c687353802
commit
2897a60455
11
db/schema.rb
11
db/schema.rb
@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2021_07_06_171352) do
|
ActiveRecord::Schema.define(version: 2021_08_26_135742) do
|
||||||
|
|
||||||
create_table "accounting_zones", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
create_table "accounting_zones", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
@ -970,6 +970,13 @@ ActiveRecord::Schema.define(version: 2021_07_06_171352) do
|
|||||||
t.datetime "updated_at", precision: 6, null: false
|
t.datetime "updated_at", precision: 6, null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
create_table "p_articles", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||||
|
t.bigint "p_product_ref_id"
|
||||||
|
t.datetime "created_at", precision: 6, null: false
|
||||||
|
t.datetime "updated_at", precision: 6, null: false
|
||||||
|
t.index ["p_product_ref_id"], name: "index_p_articles_on_p_product_ref_id"
|
||||||
|
end
|
||||||
|
|
||||||
create_table "p_bank_accounts", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
create_table "p_bank_accounts", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
|
||||||
t.bigint "p_bank_id"
|
t.bigint "p_bank_id"
|
||||||
t.string "iban"
|
t.string "iban"
|
||||||
@ -2336,7 +2343,6 @@ ActiveRecord::Schema.define(version: 2021_07_06_171352) do
|
|||||||
t.integer "order_hist_id"
|
t.integer "order_hist_id"
|
||||||
t.boolean "imported", default: false
|
t.boolean "imported", default: false
|
||||||
t.date "validation_date"
|
t.date "validation_date"
|
||||||
t.date "cc_validation_date"
|
|
||||||
t.string "cc_state"
|
t.string "cc_state"
|
||||||
t.index ["p_customer_id"], name: "index_price_line_blocks_on_p_customer_id"
|
t.index ["p_customer_id"], name: "index_price_line_blocks_on_p_customer_id"
|
||||||
end
|
end
|
||||||
@ -3050,6 +3056,7 @@ ActiveRecord::Schema.define(version: 2021_07_06_171352) do
|
|||||||
add_foreign_key "order_hist_lines", "p_customers"
|
add_foreign_key "order_hist_lines", "p_customers"
|
||||||
add_foreign_key "order_hist_lines", "p_payment_types"
|
add_foreign_key "order_hist_lines", "p_payment_types"
|
||||||
add_foreign_key "order_hist_lines", "p_product_refs"
|
add_foreign_key "order_hist_lines", "p_product_refs"
|
||||||
|
add_foreign_key "p_articles", "p_product_refs"
|
||||||
add_foreign_key "p_commercial_object_brands", "p_commercial_objectives"
|
add_foreign_key "p_commercial_object_brands", "p_commercial_objectives"
|
||||||
add_foreign_key "p_commercial_object_brands", "p_commercials"
|
add_foreign_key "p_commercial_object_brands", "p_commercials"
|
||||||
add_foreign_key "p_commercial_object_brands", "s_brands"
|
add_foreign_key "p_commercial_object_brands", "s_brands"
|
||||||
|
Reference in New Issue
Block a user