Sha256: 04c5ceba95c2560f0764eb75ad80d25e34bf292cf61e51c12036d9c15e150775
Contents?: true
Size: 620 Bytes
Versions: 65
Compression:
Stored size: 620 Bytes
Contents
class CreateComeeCoreStoreItems < ActiveRecord::Migration[7.1] def change create_table :comee_core_store_items do |t| t.float :quantity, null: false t.float :reorder_threshold, null: false, default: 10 t.references :product, null: false, index: {name: "product_on_ccsi_indx"}, foreign_key: {to_table: :comee_core_products} t.references :store, null: false, index: {name: "store_on_ccsi_indx"}, foreign_key: {to_table: :comee_core_stores} t.timestamps end end end
Version data entries
65 entries across 65 versions & 1 rubygems