Sha256: 7c04fb5c2056dc78ab455133708eb8ed5f1647324c9794f4ba78d68f9f28abd1
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 Bytes
Contents
class CreatePromotionCodes < ActiveRecord::Migration[7.0] def change create_table :solidus_promotions_promotion_codes, force: :cascade do |t| t.references :promotion, null: false, index: true, foreign_key: { to_table: :solidus_promotions_promotions } t.string :value, null: false t.timestamps t.index ["value"], name: "index_solidus_promotions_promotion_codes_on_value", unique: true end end end
Version data entries
5 entries across 5 versions & 1 rubygems