Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CUSTOMER
- has_one :customer_address
- CUSTOMER_ADDRESS
- belongs_to :customer
- DESTINATION
- has_one :destination_address
- DESTINATION_ADDRESS
- belongs_to :destination
- CUSTOMER
- has_one :customer_address
- has_many :orders
- CUSTOMER_ADDRESS
- belongs_to :customer
- DESTINATION
- has_one :destination_address
- DESTINATION_ADDRESS
- belongs_to :destination
- ORDER
- belongs_to :customer
- has_one :customer_address, through: :customer
- has_one :destination_address, through :destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement