diff --git a/db/schema.rb b/db/schema.rb index 734a9dc..b3956ac 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # 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| t.string "name" @@ -970,6 +970,13 @@ ActiveRecord::Schema.define(version: 2021_07_06_171352) do t.datetime "updated_at", precision: 6, null: false 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| t.bigint "p_bank_id" t.string "iban" @@ -2336,7 +2343,6 @@ ActiveRecord::Schema.define(version: 2021_07_06_171352) do t.integer "order_hist_id" t.boolean "imported", default: false t.date "validation_date" - t.date "cc_validation_date" t.string "cc_state" t.index ["p_customer_id"], name: "index_price_line_blocks_on_p_customer_id" 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_payment_types" 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_commercials" add_foreign_key "p_commercial_object_brands", "s_brands"