Sha256: f4a0f538dcb422e881d52b315b6866e419dc1a7f688accb2e656911dccdfe0e3
Contents?: true
Size: 609 Bytes
Versions: 65
Compression:
Stored size: 609 Bytes
Contents
class CreateComeeCoreReorderReportItems < ActiveRecord::Migration[7.1] def change create_table :comee_core_reorder_report_items do |t| t.float :quantity, null: false t.references :reorder_report, null: false, index: {name: "reorder_report_on_ccrri_index"}, foreign_key: {to_table: :comee_core_reorder_reports} t.references :product, null: false, index: {name: "product_on_ccrri_index"}, foreign_key: {to_table: :comee_core_products} t.timestamps end end end
Version data entries
65 entries across 65 versions & 1 rubygems