Sha256: 0f83216468261145db4651764411c84ebd01b4917ea1bbddf15d5d7612b16c71
Contents?: true
Size: 373 Bytes
Versions: 5
Compression:
Stored size: 373 Bytes
Contents
class CreatePromotionCategories < ActiveRecord::Migration[7.0] def change create_table :solidus_promotions_promotion_categories do |t| t.string :name t.string :code t.timestamps end add_reference :solidus_promotions_promotions, :promotion_category, foreign_key: { to_table: :solidus_promotions_promotion_categories } end end
Version data entries
5 entries across 5 versions & 1 rubygems