mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
6 lines
146 B
Ruby
6 lines
146 B
Ruby
class AddCouponIdToOrder < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_reference :orders, :coupon, index: true, foreign_key: true
|
|
end
|
|
end
|